File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff 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>
4444EOF
4545
46- touch dist/Contents/MacOS/launcher.sh
47- touch dist/Contents/MacOS/setup.sh
46+ touch dist/Contents/MacOS/launcher
4847
4948chmod 755 dist/Contents/MacOS/*
5049chmod 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
5554DIR="\$(cd "\$(dirname "\$0")" && pwd)"
5655RUNTIME_DIR="\$DIR/../runtime"
5756SOURCE_DIR="\$DIR/../src"
5857
59- export PYTHONPATH="\$RUNTIME_DIR"
58+ export PYTHONPATH="\$RUNTIME_DIR/packages "
6059\$RUNTIME_DIR/bin/python3 "\$SOURCE_DIR/main.py" "\$@"
6160EOF
6261
You can’t perform that action at this time.
0 commit comments