More updates!

This commit is contained in:
oitsjustjose 2024-07-20 22:45:19 -05:00
commit bd262e8f42
2 changed files with 3 additions and 1 deletions

View file

@ -1 +1 @@
pyinstaller.exe -F --paths=Lib\site-packages --name="dirbackup" --icon="icon/icon.png" .\src\main.py pyinstaller.exe -F --paths=Lib\site-packages --name="dirbackup" --icon="icon/icon.png" .\src\main.pyw

View file

@ -5,6 +5,7 @@ from datetime import datetime
from datetime import date from datetime import date
import os import os
import sys
import time import time
from src.watcher import Watcher from src.watcher import Watcher
from enum import Enum from enum import Enum
@ -134,6 +135,7 @@ if __name__ == "__main__":
except Exception as e: except Exception as e:
print("Failed to start application:") print("Failed to start application:")
print(e) print(e)
sys.exit(-1)
source = Path(args.source) source = Path(args.source)
destination = Path(args.destination) destination = Path(args.destination)