hide app + linux version

This commit is contained in:
Michel Roux 2018-09-29 20:46:22 +02:00
parent fd63af9a88
commit ec08d71262
2 changed files with 16 additions and 0 deletions

14
packr/packr_linux.sh Executable file
View File

@ -0,0 +1,14 @@
#!/usr/bin/env bash
java -jar packr.jar \
--platform mac \
--jdk "${JAVA_HOME}" \
--executable Symantec \
--classpath ../out/artifacts/Symantec/Symantec.jar \
--removelibs ../out/artifacts/Symantec/Symantec.jar \
--mainclass Symantec \
--minimizejre hard \
--bundle "" \
--output ../out/app/Symantec.app
sed -i $'s/<\/dict>/ <key>LSUIElement<\/key>\\\n <true\/>\\\n<\/dict>/' ../out/app/Symantec.app/Contents/Info.plist

2
packr/packr.sh → packr/packr_mac.sh Normal file → Executable file
View File

@ -10,3 +10,5 @@ java -jar packr.jar \
--minimizejre hard \
--bundle "" \
--output ../out/app/Symantec.app
sed -i '' $'s/<\/dict>/ <key>LSUIElement<\/key>\\\n <true\/>\\\n<\/dict>/' ../out/app/Symantec.app/Contents/Info.plist