Update AppImage

This commit is contained in:
MacRimi
2025-09-29 18:37:32 +02:00
parent 3d3c224b3a
commit 54256826fe
2 changed files with 10 additions and 5 deletions

View File

@@ -194,8 +194,10 @@ chmod +x "$APP_DIR/usr/bin/translate_cli.py"
echo "📋 Copying web dashboard..."
if [ -d "$APPIMAGE_ROOT/out" ]; then
mkdir -p "$APP_DIR/web"
cp -r "$APPIMAGE_ROOT/out" "$APP_DIR/web/"
cp -r "$APPIMAGE_ROOT/public" "$APP_DIR/web/"
cp -r "$APPIMAGE_ROOT/out"/* "$APP_DIR/web/"
if [ -d "$APPIMAGE_ROOT/public" ]; then
cp -r "$APPIMAGE_ROOT/public"/* "$APP_DIR/web/" 2>/dev/null || true
fi
cp "$APPIMAGE_ROOT/package.json" "$APP_DIR/web/"
echo "✅ Next.js static export copied successfully"