fix(linux): enable font-free Wayland window controls

This commit is contained in:
Daniel
2026-10-20 07:34:46 +07:00
committed by bflatastic
parent 39fdaf7db8
commit 050f68a030
6 changed files with 51 additions and 0 deletions
@@ -43,6 +43,7 @@ modules:
build-commands:
- cargo --offline build --release --locked -p vectorcraft
- install -Dm755 target/release/vectorcraft /app/bin/vectorcraft
- install -Dm644 NOTICE /app/share/doc/vectorcraft/NOTICE
- install -Dm644 packaging/linux/ai.storyteller.vectorcraft.desktop /app/share/applications/ai.storyteller.vectorcraft.desktop
- install -Dm644 packaging/linux/ai.storyteller.vectorcraft.mime.xml /app/share/mime/packages/ai.storyteller.vectorcraft.xml
- mkdir -p /app/share/icons && cp -R assets/app-icon/hicolor /app/share/icons/
Executable → Regular
+2
View File
@@ -106,6 +106,8 @@ if has appimage; then
APPDIR="$WORK/VectorCraft.AppDir"
cp -R "$STAGE" "$APPDIR"
mv "$APPDIR/usr/share/doc" "$WORK/doc-unused"
# Keep the third-party runtime notice after dropping the full documentation tree.
install -Dm644 "$ROOT/NOTICE" "$APPDIR/usr/share/doc/vectorcraft/NOTICE"
ln -s usr/bin/vectorcraft "$APPDIR/AppRun"
cp "$HERE/$APP_ID.desktop" "$APPDIR/$APP_ID.desktop"
cp "$ROOT/assets/app-icon/hicolor/256x256/apps/$APP_ID.png" "$APPDIR/$APP_ID.png"