Describe the bug
AITrack silently crashes if the user running it has no write access to the program location (e.g. they placed the AITrack folder inside Program Files or similar).
The program writes to its location rather than %appdata%, so the folder permissions become an issue.
To Reproduce
Steps to reproduce the behavior:
Place the AITrack folder inside "C:\Program FIles"
Run AITrack as a normal user.
Program will silently fail to launch; Event Viewer will show a crash occurred
Run AITrack as an elevated user from the same location, it will run.
Move AITrack folder to a non-restricted location.
Run AITrack as a normal user. It will run.
Expected behavior
Ideally, the program should run and write to a user-specific location (e.g. under %appdata%). Alternatively, an error message should be shown to ask the user to relocate the program to a writeable location.
Environment (please complete the following information):
Operating system version (Windows 10+ Version number): Windows 10 20H2
Webcam model: Chicony (laptop integrated)
AITrack version: 0.6.4
Additional context
Add any other context about the problem here.
Describe the bug AITrack silently crashes if the user running it has no write access to the program location (e.g. they placed the AITrack folder inside Program Files or similar). The program writes to its location rather than %appdata%, so the folder permissions become an issue.
To Reproduce Steps to reproduce the behavior:
Expected behavior Ideally, the program should run and write to a user-specific location (e.g. under %appdata%). Alternatively, an error message should be shown to ask the user to relocate the program to a writeable location.
Environment (please complete the following information):
Additional context Add any other context about the problem here.