mirror of
https://github.com/bancika/diy-layout-creator
synced 2026-11-12 02:02:16 +10:00
@@ -53,9 +53,9 @@
|
||||
<include name="*"/>
|
||||
</fileset>
|
||||
</copy>
|
||||
<copy file="appimage/diylc.sh" tofile="${appdir}/usr/bin/diylc" />
|
||||
<copy file="appimage/diylc.sh" tofile="${appdir}/AppRun" />
|
||||
<copy file="deploy/splash.png" todir="${appdir}/usr/bin" />
|
||||
<chmod file="${appdir}/usr/bin/diylc" perm="755" />
|
||||
<chmod file="${appdir}/AppRun" perm="755" />
|
||||
|
||||
<!-- Copy icons and desktop file -->
|
||||
<copy file="icons/icon_512x512.png" tofile="${appdir}/usr/share/icons/hicolor/512x512/apps/com.diy_fever.DIYLayoutCreator.png" />
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
HERE="$(dirname "$(readlink -f "$0")")"
|
||||
|
||||
# Set JRE path inside AppImage
|
||||
if [ -d "$HERE/../lib/jre" ]; then
|
||||
if [ -d "$HERE/usr/lib/jre" ]; then
|
||||
JAVA_HOME="$HERE/../lib/jre"
|
||||
PATH="$JAVA_HOME/bin:$PATH"
|
||||
export JAVA_HOME PATH
|
||||
|
||||
Reference in New Issue
Block a user