Skip to content

Commit fbdf6e3

Browse files
committed
Make automator.sh executable and update icon paths for Linux and macOS
1 parent 4b42ef4 commit fbdf6e3

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

.github/workflows/build_app.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ jobs:
105105
106106
- name: Build app package
107107
run: |
108+
chmod +x ./automator.sh
108109
./automator.sh build app
109110
110111
- name: Rename app package

os_specific/linux/setup_build_exe.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
import toml
55
from cx_Freeze import setup
66

7-
from automations.const import OS_SPECIFIC_DIR
8-
97

108
# <editor-fold desc="Module constants">
119
PROJECT_ROOT_DIR = pathlib.Path(__file__).parent.parent.parent
@@ -51,7 +49,7 @@
5149
"target_name": "Open-Source-PyMOL",
5250
"script": pathlib.Path(PYMOL_PACKAGE_DIR / "startup_wrapper.py"),
5351
"base": "gui",
54-
"icon": pathlib.Path(OS_SPECIFIC_DIR / "logo.png"),
52+
"icon": pathlib.Path(PROJECT_ROOT_DIR / "os_specific/linux" / "logo.png"),
5553
}
5654
],
5755
)

os_specific/macos/setup_build_exe.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
import toml
55
from cx_Freeze import setup
66

7-
from automations.const import OS_SPECIFIC_DIR
87

98
# <editor-fold desc="Module constants">
109
PROJECT_ROOT_DIR = pathlib.Path(__file__).parent.parent.parent
@@ -55,7 +54,7 @@
5554
"target_name": "PyMOL",
5655
"script": pathlib.Path(PYMOL_PACKAGE_DIR / "startup_wrapper.py"),
5756
"base": "gui",
58-
"icon": pathlib.Path(OS_SPECIFIC_DIR / "icon.icns"),
57+
"icon": pathlib.Path(PROJECT_ROOT_DIR / "os_specific/macos" / "icon.icns"),
5958
}
6059
],
6160
)

0 commit comments

Comments
 (0)