summaryrefslogtreecommitdiff
path: root/windows/neo-vars/src
diff options
context:
space:
mode:
Diffstat (limited to 'windows/neo-vars/src')
-rw-r--r--windows/neo-vars/src/source/initialize.ahk9
1 files changed, 2 insertions, 7 deletions
diff --git a/windows/neo-vars/src/source/initialize.ahk b/windows/neo-vars/src/source/initialize.ahk
index 97f069b..8881843 100644
--- a/windows/neo-vars/src/source/initialize.ahk
+++ b/windows/neo-vars/src/source/initialize.ahk
@@ -39,14 +39,9 @@ NEOScrollLockLEDState := "Off"
SetNEOLockStates()
OnExit, exitprogram
-EnvGet, WindowsEnvAppDataFolder, APPDATA
-if (WindowsEnvAppDataFolder == "") {
- EnvGet, WindowsEnvAppDataFolder, USERPROFILE
- WindowsEnvAppDataFolder .= "\Anwendungsdaten"
-}
-ApplicationFolder = %WindowsEnvAppDataFolder%\Neo2
+ApplicationFolder := A_AppData . "\Neo2"
FileCreateDir, %ApplicationFolder%
-ini = %ApplicationFolder%\Neo2.ini
+ini := ApplicationFolder . "\Neo2.ini"
IniRead,zeigeLockBox,%ini%,Global,zeigeLockBox,1
IniRead,zeigeModusBox,%ini%,Global,zeigeModusBox,1