@@ -6,7 +6,7 @@ APP_ID="co.casterlabs.caffeinated"
66APP_NAME=" Casterlabs-Caffeinated"
77MAIN_CLASS=" co.casterlabs.caffeinated.bootstrap.Bootstrap"
88VM_OPTIONS=' --arg=-Xms1M --arg=-XX:+UseCompressedOops --arg=-XX:MaxHeapFreeRatio=2 --arg=-XX:MinHeapFreeRatio=1'
9- SAUCER4J_VERSION=" 64fddc7 "
9+ SAUCER4J_VERSION=" 98dbc5f "
1010
1111if [[ $@ == * " compile" * ]]; then
1212 echo " ------------ Compiling app ------------"
@@ -32,6 +32,19 @@ if [[ $@ == *"dist-windows"* ]]; then
3232 echo " ------------ Finished bundling for Windows ------------"
3333fi
3434
35+ if [[ $@ == * " dist-nosign-windows" * ]]; then
36+ echo " ------------ Bundling for Windows ------------"
37+
38+ java -jar bundler.jar bundle \
39+ --arch x86_64 --os windows \
40+ --id $APP_ID --name $APP_NAME --icon icon.png \
41+ --java 11 $VM_OPTIONS --main $MAIN_CLASS \
42+ --file app/core/WMC-JsonConsoleWrapper.exe --dependency " app/core/target/Caffeinated.jar" \
43+ --dependency " https://jitpack.io|com.github.saucer.saucer4j:webview2:$SAUCER4J_VERSION :.jar"
44+
45+ echo " ------------ Finished bundling for Windows ------------"
46+ fi
47+
3548if [[ $@ == * " dist-macos" * ]]; then
3649 echo " ------------ Bundling for macOS ------------"
3750
@@ -62,12 +75,12 @@ if [[ $@ == *"dist-linux"* ]]; then
6275 --dependency " app/core/target/Caffeinated.jar" \
6376 --dependency " https://jitpack.io|com.github.saucer.saucer4j:webkitgtk:$SAUCER4J_VERSION :.jar"
6477
65- java -jar bundler.jar bundle \
66- --arch arm --os gnulinux \
67- --id $APP_ID --name $APP_NAME --icon icon.png \
68- --java 11 $VM_OPTIONS --main $MAIN_CLASS \
69- --dependency " app/core/target/Caffeinated.jar" \
70- --dependency " https://jitpack.io|com.github.saucer.saucer4j:webkitgtk:$SAUCER4J_VERSION :.jar"
78+ # java -jar bundler.jar bundle \
79+ # --arch arm --os gnulinux \
80+ # --id $APP_ID --name $APP_NAME --icon icon.png \
81+ # --java 11 $VM_OPTIONS --main $MAIN_CLASS \
82+ # --dependency "app/core/target/Caffeinated.jar" \
83+ # --dependency "https://jitpack.io|com.github.saucer.saucer4j:webkitgtk:$SAUCER4J_VERSION:.jar"
7184
7285 java -jar bundler.jar bundle \
7386 --arch x86_64 --os gnulinux \
0 commit comments