diff --git a/packaging/linux/package.sh b/packaging/linux/package.sh index 7d0e085c..7166924e 100755 --- a/packaging/linux/package.sh +++ b/packaging/linux/package.sh @@ -121,7 +121,6 @@ if has appimage; then fi 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 4d08d05c..ef7f99c5 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"