Open
Conversation
… game, check if game exists, read local manifest, fetch remote to doubel check, then clone/pull repo
…mes folder ends up on the repo but nothing inside of it crosses over (minus the .gitkeep)
…the manifest results
…s both a real time analysis of the process and documentation for the file
logprogrammer92
approved these changes
Feb 11, 2026
Contributor
logprogrammer92
left a comment
There was a problem hiding this comment.
Looks good to me. It is interesting how you used a .gitkeep file so that the games folder will be tracked by git but no other file in that folder will be tracked.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #33
This one took a little bit of time for sure.
Human summary:
Added game update script to check for updates, then use simple-git to go through the action of pulling or cloning (or nothing if no action is needed).
Added game.json file to store information about games listed.
Added simple git to packages
Tested script via "node scripts/gameUpdate.js" and it runs fine without games in game.json
AI summary:
Overview
This update introduces the initial version of the game update system, enabling the server to automatically detect, install, and update games listed in game.json. The system compares local and remote manifests, determines whether an update is required, and uses Git operations to keep game files current.
What’s Included
node scripts/gameUpdate.js
(gracefully exits with appropriate logs)