diff --git a/packaging/linux/package.sh b/packaging/linux/package.sh index eb0b7d0a..e43b103d 100755 --- a/packaging/linux/package.sh +++ b/packaging/linux/package.sh @@ -101,7 +101,6 @@ fi if has appimage; then APPDIR="$WORK/DeckCraft.AppDir" cp -R "$STAGE" "$APPDIR" - mv "$APPDIR/usr/share/doc" "$WORK/doc-unused" ln -s usr/bin/deckcraft "$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" diff --git a/packaging/macos/package.sh b/packaging/macos/package.sh index 4eed67ab..5c5164e9 100755 --- a/packaging/macos/package.sh +++ b/packaging/macos/package.sh @@ -103,8 +103,9 @@ mkdir -p "$APP/Contents/MacOS" "$APP/Contents/Resources" # Executable and icon carry the display name (CFBundleExecutable / CFBundleIconFile). cp "$WORK/bin/deckcraft" "$APP/Contents/MacOS/DeckCraft" cp "$ROOT/assets/app-icon/deckcraft.icns" "$APP/Contents/Resources/DeckCraft.icns" -# Licences of the embedded craft-fonts fonts (only when built with CRAFT_FONTS_DIR). -copy_font_licences "$APP/Contents/Resources" +# The licences and README, as in the CLI zip, plus the licences of the embedded craft-fonts +# fonts when built with CRAFT_FONTS_DIR. Before signing, so the seal covers them. +copy_docs "$APP/Contents/Resources" sed -e "s/@VERSION@/$VERSION/g" -e "s/@SHORT_VERSION@/$SHORT_VERSION/g" \ -e "s/@BUILD_SHA@/${DECKCRAFT_BUILD_SHA:-unknown}/g" \ "$HERE/Info.plist.in" >"$APP/Contents/Info.plist"