Skip to content

Commit 9f4bae6

Browse files
committed
Updated for Standalone
1 parent 593c880 commit 9f4bae6

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

build

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ cat > "dist/Contents/Info.plist" <<EOF
2626
<plist version="1.0">
2727
<dict>
2828
<key>CFBundleExecutable</key>
29-
<string>launcher.sh</string>
29+
<string>launcher</string>
3030
<key>CFBundleIdentifier</key>
3131
<string>${IDENTIFIER}</string>
3232
<key>CFBundleName</key>
@@ -43,20 +43,19 @@ cat > "dist/Contents/Info.plist" <<EOF
4343
</plist>
4444
EOF
4545

46-
touch dist/Contents/MacOS/launcher.sh
47-
touch dist/Contents/MacOS/setup.sh
46+
touch dist/Contents/MacOS/launcher
4847

4948
chmod 755 dist/Contents/MacOS/*
5049
chmod 755 dist/Contents/runtime/bin/*
5150

52-
cat > "dist/Contents/MacOS/launcher.sh" <<EOF
51+
cat > "dist/Contents/MacOS/launcher" <<EOF
5352
#!/bin/bash
5453

5554
DIR="\$(cd "\$(dirname "\$0")" && pwd)"
5655
RUNTIME_DIR="\$DIR/../runtime"
5756
SOURCE_DIR="\$DIR/../src"
5857

59-
export PYTHONPATH="\$RUNTIME_DIR"
58+
export PYTHONPATH="\$RUNTIME_DIR/packages"
6059
\$RUNTIME_DIR/bin/python3 "\$SOURCE_DIR/main.py" "\$@"
6160
EOF
6261

0 commit comments

Comments
 (0)