Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configuration files version 9 - Unable to use igconfig.default.json or igconfig.admin.json #1773

Closed
stefanorova opened this issue Dec 12, 2023 · 2 comments
Assignees
Milestone

Comments

@stefanorova
Copy link

System information:

  • Windows OS version: Win 11, Win Server 2022
  • ImageGlass version: 9.0.8.1208

To Reproduce

Steps to reproduce the behavior:

  1. Open image glass and configure preferences (lenguage IT, remove auto updates, theme dark)
  2. Copy file igconfig.jon located at AppData\Local\ImageGlass and raname to igconfig.default.json (or igconfig.admin.json)
    2.5. Instead of copy the file we also tried to manually create the content of the file as follow:
    {
    "_Metadata":{
    "Description":"ImageGlass configuration file",
    "Version":"9.0"
    },
    "QuickSetupVersion":9,
    "Language":"Italian.iglang.json"
    }
  3. Put the generated file in C:\Program Files\ImageGlass
  4. Clear AppData\Local\ImageGlass to simulate first opening
  5. The app will ignore default and admin configuration file

Actual behavior:

Done the steps above the app open whitout getting any startup config.
In version 8 we were able to make it work whitout any problem, is that a bug or did we make any error?

Expected behavior:

Like in version 8 app should read file in startup directory and get initial or forced configuration

@d2phap d2phap added this to the v9.1 milestone Dec 12, 2023
d2phap added a commit that referenced this issue Dec 12, 2023
@d2phap
Copy link
Owner

d2phap commented Dec 12, 2023

Thanks @stefanorova for the bug report. It was a bug that IG 9 only looks for those files in the Config folder instead of the Installed folder.
A temporary solution while waiting for the next release is to put your files in Config folder: %LocalAppData%\ImageGlass\

@d2phap
Copy link
Owner

d2phap commented Dec 28, 2023

Should be fixed in ImageGlass 9.0.9.1230

@d2phap d2phap closed this as completed Dec 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants