mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
9aaa7ecbf2
Now using a function to get the DOS environment variable "APPDATA" instead of the AutoIt macro. ************ From: ************ If FileFindFirstFile("..\..\Rainmeter.ini") <> - 1 Then $DataFolder = "..\..\" ElseIf FileFindFirstFile(@AppDataDir & "\Rainmeter\Rainmeter.ini") <> - 1 Then $DataFolder = @AppDataDir & "\Rainmeter\" Else MsgBox(48, "RainThemes Error", "Unable to locate Rainmeter.ini") Exit EndIf ************** To: ************** $AppDataDir = EnvGet("APPDATA") If FileFindFirstFile("..\..\Rainmeter.ini") <> - 1 Then $DataFolder = "..\..\" ElseIf FileFindFirstFile($AppDataDir & "\Rainmeter\Rainmeter.ini") <> - 1 Then $DataFolder = $AppDataDir & "\Rainmeter\" Else MsgBox(48, "RainThemes Error", "Unable to locate Rainmeter.ini") Exit EndIf |
||
---|---|---|
Application | ||
Library | ||
Plugins | ||
LICENSE | ||
Rainmeter.sln | ||
README.md | ||
revision-number.h |