You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
477 B
Python
16 lines
477 B
Python
import sys
|
|
from PyQt5.QtWidgets import QApplication
|
|
from main_window import MainWindow
|
|
from database import create_tables, delete_old_logs
|
|
|
|
if __name__ == '__main__':
|
|
create_tables()
|
|
delete_old_logs()
|
|
|
|
app = QApplication(sys.argv)
|
|
window = MainWindow()
|
|
window.show()
|
|
sys.exit(app.exec_())
|
|
|
|
|
|
# pyinstaller --onefile bunnysync.py --add-data "images/realrabbit.png:images" --add-data "images/realrabbit2.png:images" --icon=images/realrabbit.png --noconsole |