File tree Expand file tree Collapse file tree 3 files changed +31
-2
lines changed
Expand file tree Collapse file tree 3 files changed +31
-2
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ cargo install cargo-packager
1515cargo packager --config ' {' \
1616' "name": "pandora-launcher",' \
1717' "outDir": "./dist",' \
18+ ' "formats": ["deb", "appimage"],' \
1819' "productName": "Pandora Launcher",' \
1920' "version": "' " $1 " ' ",' \
2021' "identifier": "com.moulberry.pandoralauncher",' \
Original file line number Diff line number Diff line change @@ -8,4 +8,18 @@ strip target/x86_64-apple-darwin/release/pandora_launcher
88
99mkdir -p dist
1010
11- lipo -create -output dist/PandoraLauncher-macOS-Universal target/x86_64-apple-darwin/release/pandora_launcher target/aarch64-apple-darwin/release/pandora_launcher
11+ lipo -create -output dist/PandoraLauncher-macOS target/x86_64-apple-darwin/release/pandora_launcher target/aarch64-apple-darwin/release/pandora_launcher
12+
13+ cargo install cargo-packager
14+ cargo packager --config ' {' \
15+ ' "name": "pandora-launcher",' \
16+ ' "outDir": "./dist",' \
17+ ' "productName": "Pandora Launcher",' \
18+ ' "version": "' " $1 " ' ",' \
19+ ' "identifier": "com.moulberry.pandoralauncher",' \
20+ ' "resources": [],' \
21+ ' "binaries": [{ "path": "PandoraLauncher-macOS", "main": true }],' \
22+ ' "icons": ["package/icon_32x32.png"]' \
23+ ' }'
24+
25+ mv dist/PandoraLauncher-macOS PandoraLauncher-macOS-$1 -Universal
Original file line number Diff line number Diff line change @@ -5,4 +5,18 @@ strip target/x86_64-pc-windows-msvc/release/pandora_launcher.exe
55
66mkdir -p dist
77
8- mv target/x86_64-pc-windows-msvc/release/pandora_launcher dist/PandoraLauncher-Windows-x86_64.exe
8+ mv target/x86_64-pc-windows-msvc/release/pandora_launcher dist/PandoraLauncher-Windows.exe
9+
10+ cargo install cargo-packager
11+ cargo packager --config ' {' \
12+ ' "name": "pandora-launcher",' \
13+ ' "outDir": "./dist",' \
14+ ' "productName": "Pandora Launcher",' \
15+ ' "version": "' " $1 " ' ",' \
16+ ' "identifier": "com.moulberry.pandoralauncher",' \
17+ ' "resources": [],' \
18+ ' "binaries": [{ "path": "PandoraLauncher-Windows.exe", "main": true }],' \
19+ ' "icons": ["package/icon_32x32.png"]' \
20+ ' }'
21+
22+ mv dist/PandoraLauncher-Windows.exe PandoraLauncher-Windows-$1 -x86_64.exe
You can’t perform that action at this time.
0 commit comments