Skip to content

Commit

Permalink
Improve #31
Browse files Browse the repository at this point in the history
Autoload any profile named "autoload.ncc" by default and backport changes
  • Loading branch information
rcmaehl committed Jun 25, 2020
1 parent 95c9ecd commit 24e60df
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions 2.0/NotCPUCores.au3
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****

#include <Array.au3>
#include <GUIEdit.au3>
#include <GUIEdit .au3>
#include <Process.au3>
#include <Constants.au3>
#include <GUIListView.au3>
Expand Down Expand Up @@ -750,7 +750,7 @@ Func Main()
Case $bInit = True
If FileExists(@WorkingDir & "\Settings.ini") And $bInit = True Then
$hLibrary = IniRead(@WorkingDir & "\Settings.ini", "Steam" , "Library Path" , "Auto")
$hProfile = IniRead(@WorkingDir & "\Settings.ini", "General", "Default Profile", "None")
$hProfile = IniRead(@WorkingDir & "\Settings.ini", "General", "Default Profile", "Autoload.ncc")
If Not FileExists($hLibrary) Then $hLibrary = ""
If FileExists($hProfile) Then
GUICtrlSetData($hTask , String(_IniRead($hProfile, "General" , "Process" , "", "")))
Expand Down
2 changes: 1 addition & 1 deletion NotCPUCores.au3
Original file line number Diff line number Diff line change
Expand Up @@ -750,7 +750,7 @@ Func Main()
Case $bInit = True
If FileExists(@WorkingDir & "\Settings.ini") And $bInit = True Then
$hLibrary = IniRead(@WorkingDir & "\Settings.ini", "Steam" , "Library Path" , "Auto")
$hProfile = IniRead(@WorkingDir & "\Settings.ini", "General", "Default Profile", "None")
$hProfile = IniRead(@WorkingDir & "\Settings.ini", "General", "Default Profile", "Autoload.ncc")
If Not FileExists($hLibrary) Then $hLibrary = ""
If FileExists($hProfile) Then
GUICtrlSetData($hTask , String(_IniRead($hProfile, "General" , "Process" , "", "")))
Expand Down

0 comments on commit 24e60df

Please sign in to comment.