KoLMafia Launcher and Auto-Updater for Windows

sapph

New member
I've built a PowerShell script that checks to see if a new build of KoLMafia has been published compared to the version you have. If so, it replaces what you have with the latest. Either way, it finishes up by launching.

This script makes the following assumptions:
1. You are running KoLMafia as a jar
2. You have jar files associated with some sort of Java launcher/interpreter (typically javaw.exe)
- If jar is not associated with a launcher, will try to run via javaw.exe within PATH

 

sapph

New member
Release 2.1
Changelog:

Compile-Launcher.ps1
  • Added logic to intelligently determine if ps2exe module is available, should be imported, or should be installed from Gallery
Launch-KoL.ps1
  • Removed user-editable line to determine KoL install location
  • Added logic to read install location from Launch-KoL.pref
  • If Launch-KoL.pref looks like it hasn't been edited, assumes script is running from the same folder as KoL
Launch-KoL.pref
  • Initial format, contains only Location
 
Top