diff options
| author | Olivia Kinnear <git@superatomic.dev> | 2026-04-13 23:19:20 -0500 |
|---|---|---|
| committer | Olivia Kinnear <git@superatomic.dev> | 2026-04-14 11:09:19 -0500 |
| commit | 5181b8952cfdc45df2bc540b48e45bd64377f667 (patch) | |
| tree | f63e10fa11b9bf2ddeb8dc48849488520719015a /scripts/genappimage.sh | |
| parent | 7bb8231577d11b31cbc85b563c6bc299b64957d4 (diff) | |
fix(build): fix `make appimage`
Diffstat (limited to 'scripts/genappimage.sh')
| -rwxr-xr-x | scripts/genappimage.sh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/genappimage.sh b/scripts/genappimage.sh index f8c567da57..29edc01950 100755 --- a/scripts/genappimage.sh +++ b/scripts/genappimage.sh @@ -6,7 +6,7 @@ # For more information, see http://appimage.org/ ######################################################################## -# App arch, used by generate_appimage. +# App arch if [ -z "$ARCH" ]; then ARCH="$(arch)" export ARCH @@ -15,8 +15,8 @@ ARCH_OUTPUT=$ARCH TAG=$1 -# App name, used by generate_appimage. -APP=nvim +# App name +APP=io.neovim.nvim ROOT_DIR="$(git rev-parse --show-toplevel)" APP_BUILD_DIR="$ROOT_DIR/build" @@ -54,7 +54,7 @@ chmod +x "$APP_BUILD_DIR"/linuxdeploy-"$ARCH".AppImage # metainfo is not packaged automatically by linuxdeploy mkdir -p "$APP_DIR/usr/share/metainfo/" -cp "$ROOT_DIR/runtime/nvim.appdata.xml" "$APP_DIR/usr/share/metainfo/" +cp "$ROOT_DIR/runtime/$APP.appdata.xml" "$APP_DIR/usr/share/metainfo/" cd "$APP_DIR" || exit @@ -93,7 +93,7 @@ fi # - Expects: $ARCH, $APP, $VERSION env vars # - Expects: ./$APP.AppDir/ directory # - Produces: ./nvim-linux-$ARCH_OUTPUT.appimage -./linuxdeploy-"$ARCH".AppImage --appdir $APP.AppDir -d "$ROOT_DIR"/runtime/nvim.desktop -i \ +./linuxdeploy-"$ARCH".AppImage --appdir $APP.AppDir -d "$ROOT_DIR/runtime/$APP.desktop" -i \ "$ROOT_DIR/runtime/nvim.png" --output appimage # Moving the final executable to a different folder so it isn't in the |
