-
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
74 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/bin/sh | ||
SELF=$(readlink -f "$0") | ||
HERE=${SELF%/*} | ||
export PATH="${HERE}/usr/bin/:${HERE}/usr/sbin/:${HERE}/usr/games/:${HERE}/bin/:${HERE}/sbin/${PATH:+:$PATH}" | ||
EXEC=$(grep -e '^Exec=.*' "${HERE}"/*.desktop | head -n 1 | cut -d "=" -f 2 | cut -d " " -f 1) | ||
exec "${EXEC}" "$@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
[Desktop Entry] | ||
Name=OwlPlug | ||
Exec=OwlPlug | ||
Icon=myapp | ||
Type=Application | ||
Categories=AudioVideo;Audio |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
echo "Preparing package" | ||
|
||
owlplugversion=$1 | ||
|
||
echo "Exporting LICENSE File" | ||
|
||
cp ../LICENSE ./input/LICENSE | ||
|
||
echo "Copying owlplug-client-$owlplugversion.jar to owlplug.jar" | ||
|
||
cp ../owlplug-client/target/owlplug-client-$owlplugversion.jar ./input/owlplug.jar | ||
|
||
echo "Generating OwlPlug AppImage Install package" | ||
|
||
jpackage --input ./input/ --type app-image --name OwlPlug --main-class org.springframework.boot.loader.JarLauncher \ | ||
--main-jar owlplug.jar --dest ./output \ | ||
--app-version $owlplugversion --vendor OwlPlug | ||
|
||
ls ./output | ||
|
||
# Copy OwlPlug logo to AppDir | ||
cp ./resources/owlplug.png ./OwlPlug.AppDir/owlplug.png | ||
|
||
# Copy OwlPlug binaries to AppDir | ||
cp -a ./output/. ./OwlPlug.AppDir/usr/bin | ||
|
||
ls -a ./OwlPlug.AppDir/usr/bin | ||
|
||
echo "OwlPlug AppImage files generated" |