/electron-game-updater-helper

a helper tool for electron-game-updater

Primary LanguageJavaScriptMIT LicenseMIT

Electron Game Updater Helper

This app was developed as a helper tool for my electron-game-updater

A portable Windows app that:

  • Generates an update list JSON file with data of all files within its directory
  • Highly customizable

If you don't want to compile it, download here

eguh-config.json example

  • url = direct download url
  • specialFiles = files that will have an unique hash
  • ignoredFiles = files that won't be included in the output file (for files in a subdir, do subdir/file)
  • output = name of the output file
{
  "url": "https://cdn.devgames.app/file/pub-storage/chase-client/",
  "specialFiles": ["main.exe", "stage/script.kom", "stage/char_script.kom"],
  "ignoredFiles": [
    "Electron-Game-Updater-Helper.exe",
    "eguh-config.json",
    "eguh-update-list.json",
    "JoystickSettingVer2.dat",
    "KeySettingVer2.dat",
    "log.htm",
    "OptionVer2.dat",
    "ResoultionSettingVer3.dat"
  ],
  "output": "eguh-update-list.json"
}

eguh-update-list.json example

{
  "file": "main.exe",
  "size": 16637952,
  "hash": "kuc4HCv3bX7LCaRrloP4v2TjYpc=",
  "url": "https://storage.googleapis.com/gc-client/main.exe"
}