From 19729d4599094eca586f1ed5680c518c88de26d6 Mon Sep 17 00:00:00 2001 From: Renan LE CARO Date: Tue, 1 Apr 2025 13:49:25 +0200 Subject: [PATCH] Build 29058469 --- app/build.gradle.kts | 4 ++-- app/src/main/assets/index.html | 2 +- dist/index.html | 4 ++-- src/PWA/sw-b71.js | 2 +- src/data/version.json | 2 +- src/gameOver.ts | 2 +- src/gameStateMutators.ts | 2 +- 7 files changed, 9 insertions(+), 9 deletions(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index cf34cb0..669a738 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -11,8 +11,8 @@ android { applicationId = "me.lecaro.breakout" minSdk = 21 targetSdk = 34 - versionCode = 29058459 - versionName = "29058459" + versionCode = 29058469 + versionName = "29058469" testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" vectorDrawables { useSupportLibrary = true diff --git a/app/src/main/assets/index.html b/app/src/main/assets/index.html index 872ffc6..ce77e23 100644 --- a/app/src/main/assets/index.html +++ b/app/src/main/assets/index.html @@ -1 +1 @@ -Breakout 71 \ No newline at end of file +Breakout 71 \ No newline at end of file diff --git a/dist/index.html b/dist/index.html index 1630a33..a734a7f 100644 --- a/dist/index.html +++ b/dist/index.html @@ -1461,7 +1461,7 @@ const upgrades = (0, _upgrades.rawUpgrades).map((u)=>({ })); },{"./data/palette.json":"ktRBU","./data/levels.json":"8JSUc","./data/version.json":"iyP6E","./upgrades":"1u3Dx","./getLevelBackground":"7OIPf","./levelIcon":"6rQoT","@parcel/transformer-js/src/esmodule-helpers.js":"gkKU3"}],"iyP6E":[function(require,module,exports,__globalThis) { -module.exports = JSON.parse("\"29058459\""); +module.exports = JSON.parse("\"29058469\""); },{}],"1u3Dx":[function(require,module,exports,__globalThis) { var parcelHelpers = require("@parcel/transformer-js/src/esmodule-helpers.js"); @@ -4301,7 +4301,7 @@ function gameOver(title, intro) { }); } let unlockedItems = list.filter((u)=>u.threshold > startTs && u.threshold < endTs); - if (unlockedItems.length) unlocksInfo += `

${(0, _i18N.t)('gameOver.unlocked_count', { + if (unlockedItems.length) unlocksInfo += `

${(0, _i18N.t)("gameOver.unlocked_count", { count: unlockedItems.length })} ${unlockedItems.map((u)=>u.title).join(", ")}

`; // Avoid the sad sound right as we restart a new games diff --git a/src/PWA/sw-b71.js b/src/PWA/sw-b71.js index 441b1f8..c683522 100644 --- a/src/PWA/sw-b71.js +++ b/src/PWA/sw-b71.js @@ -1,5 +1,5 @@ // The version of the cache. -const VERSION = "29058459"; +const VERSION = "29058469"; // The name of the cache const CACHE_NAME = `breakout-71-${VERSION}`; diff --git a/src/data/version.json b/src/data/version.json index c909a24..80cd7f6 100644 --- a/src/data/version.json +++ b/src/data/version.json @@ -1 +1 @@ -"29058459" +"29058469" diff --git a/src/gameOver.ts b/src/gameOver.ts index 2752e9e..c85bb1c 100644 --- a/src/gameOver.ts +++ b/src/gameOver.ts @@ -108,7 +108,7 @@ export function gameOver(title: string, intro: string) { (u) => u.threshold > startTs && u.threshold < endTs, ); if (unlockedItems.length) { - unlocksInfo += `

${t('gameOver.unlocked_count', { count: unlockedItems.length })} ${unlockedItems.map((u) => u.title).join(", ")}

`; + unlocksInfo += `

${t("gameOver.unlocked_count", { count: unlockedItems.length })} ${unlockedItems.map((u) => u.title).join(", ")}

`; } // Avoid the sad sound right as we restart a new games diff --git a/src/gameStateMutators.ts b/src/gameStateMutators.ts index a55fe6f..cb6b3d8 100644 --- a/src/gameStateMutators.ts +++ b/src/gameStateMutators.ts @@ -555,7 +555,7 @@ export function addToScore(gameState: GameState, coin: Coin) { gameState.score += coin.points; gameState.lastScoreIncrease = gameState.levelTime; addToTotalScore(gameState, coin.points); - if (gameState.score > gameState.highScore ) { + if (gameState.score > gameState.highScore) { gameState.highScore = gameState.score; localStorage.setItem( "breakout-3-hs-" + gameState.mode,