think this would work
All checks were successful
Build MuCaPy Executable / build-and-package (push) Successful in 1m46s

This commit is contained in:
rattatwinko
2025-06-02 14:33:11 +02:00
parent 44f2797a5c
commit 7dcf03970e
2 changed files with 4 additions and 2 deletions

View File

@@ -30,7 +30,9 @@ jobs:
- name: Build executable with PyInstaller
run: |
pyinstaller --onefile --windowed mucapy/main.py \
--add-data "mucapy/styling:styling"
--add-data "mucapy/styling:styling" \
--add-data "mucapy/models:models"
- name: Upload executable artifact
uses: actions/upload-artifact@v3

View File

@@ -857,7 +857,7 @@ class AboutWindow(QDialog):
layout.addWidget(close_btn, alignment=Qt.AlignCenter)
# Set Styling for About Section
style_file = getpath.resource_path("mucapy/styling/about.qss")
style_file = getpath.resource_path("styling/about.qss")
with open(style_file,"r") as aboutstyle:
self.setStyleSheet(aboutstyle.read())