chore(desktop/appimage): fix path for packaging

This commit is contained in:
Elian Doran
2026-04-18 09:54:19 +03:00
parent 374eeaeb08
commit cc010e1568

View File

@@ -30,7 +30,7 @@ case "$ARCH" in
esac
# Find the packaged app directory
PACKAGED_DIR="$DESKTOP_DIR/out/$PRODUCT_NAME-linux-$ARCH"
PACKAGED_DIR="$DESKTOP_DIR/dist/out/$PRODUCT_NAME-linux-$ARCH"
if [ ! -d "$PACKAGED_DIR" ]; then
echo "Error: Packaged app not found at $PACKAGED_DIR"
echo "Run 'electron-forge make' or 'electron-forge package' first."
@@ -40,7 +40,7 @@ fi
echo "Building AppImage from: $PACKAGED_DIR"
# Create AppDir structure
APPDIR="$DESKTOP_DIR/out/$PRODUCT_NAME.AppDir"
APPDIR="$DESKTOP_DIR/dist/out/$PRODUCT_NAME.AppDir"
rm -rf "$APPDIR"
mkdir -p "$APPDIR"