diff --git a/scripts/generate.mjs b/scripts/generate.mjs index 0767e32c..3a9cdf3c 100755 --- a/scripts/generate.mjs +++ b/scripts/generate.mjs @@ -131,21 +131,13 @@ export const generateGameMetadata = async () => { const embed = embedData && embedData.length > 0 ? embedData[0] : []; // Look for last updated - const [lastUpdated, lastUpdatedError] = getLastUpdated(file); - if (lastUpdatedError) { - logging.error( - 'Failed to get last updated in file %s: %s', - file, - lastUpdatedError - ); - continue; - } + const [lastUpdated, _] = getLastUpdated(file); links.push({ path: file, game: { title, - lastUpdated, + lastUpdated: lastUpdated ?? new Date(), aliases, rating: { status: ratingParsed.status, diff --git a/scripts/utils.mjs b/scripts/utils.mjs index 7b4b5701..6eb3ad77 100644 --- a/scripts/utils.mjs +++ b/scripts/utils.mjs @@ -149,7 +149,7 @@ export const getLastUpdated = path => { return [lastUpdated, null]; } catch (error) { - logging.warning( + logging.debug( 'Failed to get last updated for file %s: %o', path, error diff --git a/src/SUMMARY.md b/src/SUMMARY.md index d5b2be32..34c1d6ee 100644 --- a/src/SUMMARY.md +++ b/src/SUMMARY.md @@ -76,6 +76,7 @@ - [Palworld](./game-support/palworld.md) - [People Playground](./game-support/people-playground.md) - [Phasmophobia](./game-support/phasmophobia.md) + - [PowerWash Simulator](./game-support/powerwash-simulator.md) - [Prey \(2017\)](./game-support/prey-2017.md) - [Quake II](./game-support/quake2.md) - [r2modman](./game-support/r2modman.md) diff --git a/src/game-support/powerwash-simulator.md b/src/game-support/powerwash-simulator.md new file mode 100644 index 00000000..068921eb --- /dev/null +++ b/src/game-support/powerwash-simulator.md @@ -0,0 +1,6 @@ +# PowerWash Simulator + + +{{#template ../templates/rating.md status=Platinum installs=Yes opens=Yes}} + +{{#template ../templates/steam.md id=1290000}}