Hi there! I worked a little bit on the app and added two core features: a Config class and a way to make the program launch as admin every time.
I made the config class generate a file named config.json to store all the data, and I made a function to read the data from it. I also added setters for the current hotkey, break time, work time and other fields, and it worked after fixing a few bugs.
Then I focused on the program launching as admin, for which I created two new functions, one to check if the program is already running as admin (which uses a long command to check it, I found it online) and another big command to relaunch the script with admin privileges(witch I also found online). Everything works well as shown in the video!
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.