From 623938764313301d1354331dd7170f76eb862535 Mon Sep 17 00:00:00 2001 From: bryanthaboi Date: Thu, 23 Jul 2026 11:49:45 -0400 Subject: [PATCH] renamed --- .github/workflows/release.yml | 20 ++++++++++---------- conf.lua | 2 +- scripts/build.sh | 10 +++++----- scripts/build_android.sh | 2 +- scripts/build_ios.sh | 8 ++++---- src/core/SaveData.lua | 2 +- src/core/Version.lua | 4 ++-- 7 files changed, 24 insertions(+), 24 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d2fcad57..623e7c96 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -177,8 +177,8 @@ jobs: set -a; . "$ci_dir/notary.env"; set +a echo "::add-mask::$APPLE_APP_PASSWORD" - app=".bazinga/work/PokemonRed.app" - zip="dist/mac/PokemonRed-macos.zip" + app=".bazinga/work/gen1recomp.app" + zip="dist/mac/gen1recomp-macos.zip" [ -d "$app" ] || { echo "::error::signed app not found at $app"; exit 1; } if [ -z "${APPLE_ID:-}" ] || [ -z "${APPLE_APP_PASSWORD:-}" ] || [ -z "${APPLE_TEAM_ID:-}" ]; then echo "::error::notary.env is missing APPLE_ID / APPLE_APP_PASSWORD / APPLE_TEAM_ID." @@ -208,12 +208,12 @@ jobs: outdir="dist/release" rm -rf "$outdir" mkdir -p "$outdir" - cp "dist/mac/PokemonRed-macos.zip" "$outdir/PokemonRed-${v}-macos.zip" - cp "dist/win/PokemonRed-win64.zip" "$outdir/PokemonRed-${v}-windows.zip" - cp "dist/linux/PokemonRed-linux.zip" "$outdir/PokemonRed-${v}-linux.zip" + cp "dist/mac/gen1recomp-macos.zip" "$outdir/gen1recomp-${v}-macos.zip" + cp "dist/win/gen1recomp-win64.zip" "$outdir/gen1recomp-${v}-windows.zip" + cp "dist/linux/gen1recomp-linux.zip" "$outdir/gen1recomp-${v}-linux.zip" apk="$(find dist/android/debug -name '*.apk' | head -1)" [ -n "$apk" ] || { echo "::error::no Android APK found under dist/android/debug"; exit 1; } - cp "$apk" "$outdir/PokemonRed-${v}-android.apk" + cp "$apk" "$outdir/gen1recomp-${v}-android.apk" ls -lh "$outdir" - name: Publish GitHub Release @@ -263,10 +263,10 @@ jobs: --target "$GITHUB_SHA" \ --title "$v" \ --notes "$notes" \ - "dist/release/PokemonRed-${v}-macos.zip" \ - "dist/release/PokemonRed-${v}-windows.zip" \ - "dist/release/PokemonRed-${v}-linux.zip" \ - "dist/release/PokemonRed-${v}-android.apk" + "dist/release/gen1recomp-${v}-macos.zip" \ + "dist/release/gen1recomp-${v}-windows.zip" \ + "dist/release/gen1recomp-${v}-linux.zip" \ + "dist/release/gen1recomp-${v}-android.apk" echo "Published release $tag" diff --git a/conf.lua b/conf.lua index e26a7eea..d1751530 100644 --- a/conf.lua +++ b/conf.lua @@ -23,7 +23,7 @@ function love.conf(t) -- back to the plain title if the source is not mounted yet local ok, Version = pcall(require, "src.core.Version") t.window.title = ok and Version.title() - or "Pokemon Red (Gen 1 Recompilation Project)" + or "gen1recomp" -- Open at the launcher's design size (the split-screen ROM selector is -- laid out for 1024x768). The window is resizable and the 160x144 game -- canvas letterboxes into whatever size it ends up, so this only sets the diff --git a/scripts/build.sh b/scripts/build.sh index 55023fa6..6e44236c 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -8,12 +8,12 @@ # [--notary-profile NAME] [--no-notarize] # [--release] # ios only: release config instead of debug # -# Output: dist/mac/PokemonRed-macos.zip -# dist/win/PokemonRed-win64.zip -# dist/linux/PokemonRed-linux.zip (fused x86_64 AppImage) +# Output: dist/mac/gen1recomp-macos.zip +# dist/win/gen1recomp-win64.zip +# dist/linux/gen1recomp-linux.zip (fused x86_64 AppImage) # dist/android/debug/*.apk (full gradle output stays under # mobile/android/app/build/outputs/apk/embedNoRecord/) -# dist/ios/-/PokemonRed.app (full xcodebuild output stays +# dist/ios/-/gen1recomp.app (full xcodebuild output stays # under mobile/ios/build/Build/Products/) set -euo pipefail @@ -25,7 +25,7 @@ WORK="$HERE/work" DIST="$ROOT/dist" ENTITLEMENTS="$ROOT/scripts/macos-entitlements.plist" -APP_NAME="PokemonRed" +APP_NAME="gen1recomp" BUNDLE_ID="com.theboisclub.pokemonred" LOVE_VERSION="11.5" VERSION="$(git -C "$ROOT" rev-parse --short HEAD 2>/dev/null || echo dev)" diff --git a/scripts/build_android.sh b/scripts/build_android.sh index 946323fa..b0e7b947 100755 --- a/scripts/build_android.sh +++ b/scripts/build_android.sh @@ -22,7 +22,7 @@ ANDROID_DIR="$ROOT/mobile/android" EMBED_ASSETS="$ANDROID_DIR/app/src/embed/assets" LOVE_FILE="$EMBED_ASSETS/game.love" DIST="$ROOT/dist/android" -APP_NAME="Pokemon Red" +APP_NAME="gen1recomp" APPLICATION_ID="com.theboisclub.pokemonred" LOVE_ANDROID_VERSION="11.5a" NDK_VERSION="25.2.9519653" diff --git a/scripts/build_ios.sh b/scripts/build_ios.sh index 10a38a4b..9733fd81 100755 --- a/scripts/build_ios.sh +++ b/scripts/build_ios.sh @@ -15,8 +15,8 @@ # - mobile/ios/love-src/ (see --fetch / mobile/ios/README.md) # - prebuilt iOS libraries under love-src/platform/xcode/ios/libraries/ # -# Output: dist/ios/-/PokemonRed.app (convenience copy) -# mobile/ios/build/Build/Products/-/PokemonRed.app +# Output: dist/ios/-/gen1recomp.app (convenience copy) +# mobile/ios/build/Build/Products/-/gen1recomp.app set -euo pipefail @@ -33,8 +33,8 @@ RESOURCES_DIR="$XCODE_DIR/ios/resources" LOVE_FILE="$RESOURCES_DIR/game.love" LIBS_DIR="$XCODE_DIR/ios/libraries" -APP_NAME="PokemonRed" -DISPLAY_NAME="Pokemon Red" +APP_NAME="gen1recomp" +DISPLAY_NAME="gen1recomp" BUNDLE_ID="com.theboisclub.pokemonred" LOVE_VERSION="$(tr -d '[:space:]' < "$IOS_DIR/LOVE_VERSION" 2>/dev/null || echo 11.5)" IOS_SOURCE_ZIP="love-${LOVE_VERSION}-ios-source.zip" diff --git a/src/core/SaveData.lua b/src/core/SaveData.lua index 50a0d416..c07016ad 100644 --- a/src/core/SaveData.lua +++ b/src/core/SaveData.lua @@ -112,7 +112,7 @@ local function detectPortable() local src = love.filesystem.getSource and love.filesystem.getSource() local sbd = love.filesystem.getSourceBaseDirectory and love.filesystem.getSourceBaseDirectory() - -- A packaged macOS build nests the game inside PokemonRed.app/Contents/ + -- A packaged macOS build nests the game inside gen1recomp.app/Contents/ -- Resources, so getSource()/getSourceBaseDirectory() point INSIDE the -- bundle -- not where the player drops portable.txt (next to the .app). -- Recover the folder containing the .app so a packaged app finds its diff --git a/src/core/Version.lua b/src/core/Version.lua index 1a6f0aee..0465b82a 100644 --- a/src/core/Version.lua +++ b/src/core/Version.lua @@ -11,9 +11,9 @@ local Version = { cache = "rom-cache-v5", -- ROM import cache generation (RomImporter marker) } --- "Pokemon Red (Gen 1 Recompilation Project) v1.0.0" +-- "gen1recomp v1.0.0" function Version.title(base) - return (base or "Pokemon Red (Gen 1 Recompilation Project)") + return (base or "gen1recomp") .. " v" .. Version.engine end