Skip to content

Commit

Permalink
fix splash error on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
ElluIFX committed Dec 24, 2024
1 parent d906d32 commit cabd767
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gui_source/mdp_linux.spec
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ block_cipher = None


a = Analysis(
["mdp_main.py", "mdp_gui.py"],
["mdp_gui.py"],
pathex=["..", "."], # for github action
binaries=[],
datas=[
Expand Down
2 changes: 1 addition & 1 deletion gui_source/mdp_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ def main():
import pyi_splash # only available when packaged with pyinstaller # type: ignore

im_ok = True
except ImportError:
except Exception:
im_ok = False

if im_ok:
Expand Down
2 changes: 1 addition & 1 deletion gui_source/mdp_numba_linux.spec
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ block_cipher = None


a = Analysis(
["mdp_main.py", "mdp_gui.py"],
["mdp_gui.py"],
pathex=["..", "."], # for github action
binaries=[],
datas=[
Expand Down

0 comments on commit cabd767

Please sign in to comment.