fix - mac compile

pull/1/head
pinb 5 months ago
parent 167412bedf
commit 6a2efb03e5

@ -13,4 +13,4 @@ if __name__ == '__main__':
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
# pyinstaller --onefile bunnysync.py --add-data "images/realrabbit.ico:images" --add-data "images/realrabbit2.png:images" --icon=images/realrabbit.png --noconsole

Binary file not shown.

After

Width:  |  Height:  |  Size: 220 KiB

@ -10,7 +10,7 @@ class MainWindow(QMainWindow):
super().__init__()
self.setWindowTitle("Bunny Sync Application")
self.setGeometry(100, 100, 800, 600)
image_path = self.resource_path("images/realrabbit.png")
image_path = self.resource_path("images/realrabbit.ico")
self.setWindowIcon(QIcon(image_path))
self.setup_ui()

Loading…
Cancel
Save