Skip to content

Why is the ini saved to Temp by default? #3

@Destroy666x

Description

@Destroy666x

That folder is often cleared and thus, as the name suggests, temporary files should be there only. Config is not quite temporary.

I would recommend changing:

global iniFilePath := % Format("{1}/{2}.ini", A_Temp, A_ScriptName)

to for example:

global iniFilePath := % Format("{1}/{2}.ini", A_ScriptDir, A_ScriptName)

which would place the ini right next to the script.

Another idea would be to place it where configs usually go in Windows, so a new folder in %APPDATA%:

global iniFilePath := % Format("{1}/{2}/{2}.ini", A_AppData, A_ScriptName)

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions