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

On Windows settings.ini file is not updated due to permissions #148

Closed
Tracked by #147
fxdeniz opened this issue Sep 11, 2023 · 1 comment
Closed
Tracked by #147

On Windows settings.ini file is not updated due to permissions #148

fxdeniz opened this issue Sep 11, 2023 · 1 comment
Assignees
Labels
bug Something isn't working Windows

Comments

@fxdeniz
Copy link
Owner

fxdeniz commented Sep 11, 2023

settings.ini file is located at the same location with the NeSync.exe. By default installer installs the software into ProgramFiles which require administrator rights. Because of this access limitations, settings.ini file can't be written by the application process.
To solve this issue, NeSync.exe needs to be run as administrator.

However, I'm against to running exe file as administrator due to security concerns. If users want, they can run it as administrator by their own will.
I'll solve this issue by changing default installation location to %AppData% which does not require special permissions.

@fxdeniz fxdeniz added bug Something isn't working Windows labels Sep 11, 2023
@fxdeniz fxdeniz added this to the 2.0.0 milestone Sep 11, 2023
@fxdeniz fxdeniz self-assigned this Sep 11, 2023
@fxdeniz
Copy link
Owner Author

fxdeniz commented Sep 11, 2023

fixed in d96f301

@fxdeniz fxdeniz mentioned this issue Sep 11, 2023
2 tasks
@fxdeniz fxdeniz closed this as completed Sep 11, 2023
@fxdeniz fxdeniz modified the milestones: 2.0.0, 1.0.0 Oct 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Windows
Projects
None yet
Development

No branches or pull requests

1 participant