Skip to content

Commit

Permalink
QOL
Browse files Browse the repository at this point in the history
 - Added MessageBox that shows installation progress
  • Loading branch information
Mefgner committed Jul 13, 2024
1 parent 1d7d4f1 commit 9eec9f0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,9 @@ async def srr():
os.startfile(PATH_TO_PROGRAM / PROJECT_EXECUTABLE)
logging.info(f"{PROJECT_EXECUTABLE} is not running, so it was started")
logging.info(f"{PATH_CURRENT_FILE} terminating itself")
ctypes.windll.user32.MessageBoxW(
None, "The SRR was successfully installed! Now it runs in background.", "Info", 0x00000040
)
os._exit(0)

# create config file if it doesn't exist
Expand Down

0 comments on commit 9eec9f0

Please sign in to comment.