Skip to content

Commit

Permalink
fixed a bug in the cpu core auto-detection
Browse files Browse the repository at this point in the history
  • Loading branch information
maze404 committed Jan 10, 2022
1 parent ea12ca9 commit ea47ad5
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion @Resources/createcpumeters.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
function Update () {
$CoreCount=(Get-CimInstance Win32_ComputerSystem).NumberOfLogicalProcessors
$RootPath=(get-childitem $HOME -recurse | Where-Object {$_.PSIsContainer -eq $true -and $_.Name -match "^FluentDash11$" -and $_.FullName -match "Rainmeter"}).FullName
$RootPath=(get-childitem $HOME -recurse | Where-Object {$_.PSIsContainer -eq $true -and $_.Name -match "^FluentDash$" -and $_.FullName -match "Rainmeter\\Skins\\FluentDash"}).FullName
$WorkingDir="$RootPath\@Resources"
if ( Test-Path $WorkingDir\cpumeters.inc ) { Remove-Item $WorkingDir\cpumeters.inc}
for ($i=1; $i -le $CoreCount ; $i++) {
Expand Down
2 changes: 1 addition & 1 deletion @Resources/variables.inc
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ LightDarkFont_Text1=Light
Round_Corner0=0,0
Round_Corner1=10,10
FGRound_Corner0=None
FGRound_Corner1=None
FGRound_Corner1=Round
CornerFont_Text0=None
CornerFont_Text1=Win11

Expand Down
Binary file modified CPU/Auto Core.ini
Binary file not shown.

0 comments on commit ea47ad5

Please sign in to comment.