Linux app id: ai.storyteller.solidcraft, with an end-of-life rebase from the old id (#619)
The Flatpak app id, desktop/metainfo/MIME file names, icon name and the window's Wayland app_id / X11 class are now ai.storyteller.solidcraft, the id the ArtCraft launcher expects. Existing Flatpak installs move over: the Pages repo marks app/ai.storyteller.solvecraft end-of-life with a rebase to the new id, so flatpak update offers the switch and Flatpak carries ~/.var/app along. A new install next to the old one copies settings and autosaves on first launch through a read-only grant on the old data folder. The metainfo declares <replaces>/<provides>, the desktop entry X-Flatpak-RenamedFrom, and AppImages drop the menu entry an older AppImage installed. deb/rpm upgrades remove the old-named files. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
bcbfa50eac
commit
e67cc0c747
21 files changed
+194
-68
No files matched your search
@@ -135,12 +135,12 @@
|
||||
|
||||
postInstall = ''
|
||||
${pkgs.lib.optionalString pkgs.stdenv.isLinux ''
|
||||
install -Dm644 packaging/linux/ai.storyteller.solvecraft.desktop \
|
||||
$out/share/applications/ai.storyteller.solvecraft.desktop
|
||||
install -Dm644 packaging/linux/ai.storyteller.solvecraft.mime.xml \
|
||||
$out/share/mime/packages/ai.storyteller.solvecraft.xml
|
||||
install -Dm644 packaging/linux/ai.storyteller.solidcraft.desktop \
|
||||
$out/share/applications/ai.storyteller.solidcraft.desktop
|
||||
install -Dm644 packaging/linux/ai.storyteller.solidcraft.mime.xml \
|
||||
$out/share/mime/packages/ai.storyteller.solidcraft.xml
|
||||
for size in 16 24 32 48 64 128 256 512; do
|
||||
icon=$out/share/icons/hicolor/''${size}x''${size}/apps/ai.storyteller.solvecraft.png
|
||||
icon=$out/share/icons/hicolor/''${size}x''${size}/apps/ai.storyteller.solidcraft.png
|
||||
mkdir -p "$(dirname "$icon")"
|
||||
$out/bin/solidcraft-cli icon --size "$size" --out "$icon" >/dev/null
|
||||
done
|
||||
|
||||
Reference in new issue
Block a user