Skip to content

Commit 7a84b8f

Browse files
committed
Login Start Fix
Fixed an error with running the non-compiled version on user login
1 parent 28ac1e6 commit 7a84b8f

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

ScriptUp.ahk

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#persistent
33
#noEnv
44
setWorkingDir,% a_scriptDir
5-
#include data\threadMan.ahk
5+
#include %a_scriptDir%\data\threadMan.ahk
66
menu,tray,tip,ScriptUp
77

88
; compiled installs
@@ -38,7 +38,7 @@ if(!errorLevel) ; auto-correct if the script has been moved
3838
regWrite,REG_SZ,% regStartupPath,ScriptUp,% a_scriptFullPath
3939

4040
; start worker
41-
#include data\guiMake.ahk
41+
#include %a_scriptDir%\data\guiMake.ahk
4242
worker:=new threadMan(workerdll)
4343
worker.newFromFile(workerfile)
4444
onExit,cleanup
@@ -54,10 +54,10 @@ if(firstRun){
5454
setTimer,checkStates,1000
5555
return
5656

57-
#include data\guiSubs.ahk
58-
#include data\optionSubs.ahk
59-
#include data\menuSubs.ahk
60-
#include data\functions.ahk
57+
#include %a_scriptDir%\data\guiSubs.ahk
58+
#include %a_scriptDir%\data\optionSubs.ahk
59+
#include %a_scriptDir%\data\menuSubs.ahk
60+
#include %a_scriptDir%\data\functions.ahk
6161

6262
checkStates:
6363
stateList:=worker.varGet("stateList")

0 commit comments

Comments
 (0)