thocoo / gamma-desk

Gamma Desk
Apache License 2.0
3 stars 1 forks source link

Error executing Gamma-Desk from Windows Program files #28

Open devmnob opened 1 year ago

devmnob commented 1 year ago

Hello good afternoon,

When installing the App with pyinstaller, on the Program Files folder we get an exception when trying to save the stderr.log on the installation path. Windows requires Admin permissions to write to the installation folders. Our suggestion is to allow us to customize the file location so we can move it to the Appdata folder.

The exception is thrown at the file gdesk\core\stdinout.py at the line 42 filehandler = RotatingFileHandler(f'stderr.log', maxBytes=1024*1024, encoding='UTF-8',backupCount=5)

florisla commented 1 week ago

The log file should not be written in Program Files. I guess %APPDATA% suits better (Local, not Roaming).