Changes between Version 68 and Version 69 of BuildAndDeploymentEnvironment


Ignore:
Timestamp:
Sep 1, 2022, 5:19:49 PM (21 months ago)
Author:
Andy Alt
Comment:

appimage:don't edit desktop file, add symlink instead (script revision)

Legend:

Unmodified
Added
Removed
Modified
  • BuildAndDeploymentEnvironment

    v68 v69  
    188188
    189189cd ${APPDIR}/usr/bin
     190ln -s pyrogenesis 0ad
    190191
    191192for lib in libmozjs78-ps-release.so \
     
    199200
    200201patchelf --set-rpath libAtlasUI.so:${ABS_PATH_SRC_ROOT}/binaries/system ActorEditor
     202
     203# Note that binaries/system{libmoz*.so, libnv*.so, libAtlasUI.so} will be copied into
     204# the ${APPDIR} folder automatically when linuxdeploy is run below.
    201205
    202206cd ${ABS_PATH_SRC_ROOT}
     
    226230# when the appimage is run). If you're creating the image from a clean 0ad archive, then
    227231# there won't be any symlinks of course
    228 }}}
    229 
    230 Note that binaries/system{libmoz*.so, libnv*.so, libAtlasUI.so} will be copied into the ${APPDIR} folder automatically when linuxdeploy is run below.
    231 
    232 Change the Exec line in ${APPDIR}/usr/share/applications/0ad.desktop to `pyrogenesis` and also change the Exec line for Atlas.
    233 
    234 Get a copy of [https://github.com/linuxdeploy/linuxdeploy/releases linuxdeploy] (you can use `wget` to get the desired release/arch).
    235 
    236 Create the image:
    237 
    238 {{{
     232
     233# Get a copy of 'linuxdeploy' (you can use `wget` to get the desired release/arch).
     234# https://github.com/linuxdeploy/linuxdeploy/releases linuxdeploy
     235
     236# Create the image
    239237cd ${ABS_PATH_WORK_DIR}
    240 
    241238linuxdeploy -d ${APPDIR}/usr/share/applications/0ad.desktop \
    242239  --icon-file=${APPDIR}/usr/share/pixmaps/0ad.png \