mirror of
https://github.com/pepaskopec-blip/Graduately.git
synced 2026-10-27 15:14:35 +00:00
Fix AppImage icon size rejected by linuxdeploy.
Use the real 512×512 PNG instead of the 1024×1024 app-icon copied into the 512 path. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
5f70493cd8
commit
1179ae1f7d
2 changed files with 13 additions and 9 deletions
|
|
@ -19,7 +19,8 @@ esac
|
|||
OUT_NAME="maturita-linux-${ARCH}.AppImage"
|
||||
APPDIR="$ROOT/dist/AppDir"
|
||||
TOOLS="$ROOT/dist/tools"
|
||||
ICON_DST="assets/icons/hicolor/512x512/apps/maturita.png"
|
||||
# Real 512×512 PNG (assets/app-icon.png is 1024×1024 and linuxdeploy rejects it).
|
||||
ICON_512="$ROOT/share/icons/hicolor/512x512/apps/maturita.png"
|
||||
|
||||
echo "==> Building maturita"
|
||||
make -C "$ROOT" clean
|
||||
|
|
@ -35,9 +36,9 @@ mkdir -p "$APPDIR/usr/bin" \
|
|||
|
||||
cp -f "$ROOT/maturita" "$APPDIR/usr/bin/maturita"
|
||||
cp -f "$ROOT/style.css" "$APPDIR/style.css"
|
||||
cp -f "$ROOT/$ICON_DST" "$APPDIR/icons/hicolor/512x512/apps/maturita.png"
|
||||
cp -f "$ROOT/$ICON_DST" "$APPDIR/usr/share/icons/hicolor/512x512/apps/maturita.png"
|
||||
cp -f "$ROOT/$ICON_DST" "$APPDIR/maturita.png"
|
||||
cp -f "$ICON_512" "$APPDIR/icons/hicolor/512x512/apps/maturita.png"
|
||||
cp -f "$ICON_512" "$APPDIR/usr/share/icons/hicolor/512x512/apps/maturita.png"
|
||||
cp -f "$ICON_512" "$APPDIR/maturita.png"
|
||||
cp -R "$ROOT/share/." "$APPDIR/share/"
|
||||
cp -R "$ROOT/share/." "$APPDIR/usr/share/"
|
||||
cp -f "$ROOT/share/applications/org.maturita.Maturita.desktop" \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue