ocraft / ocraft-s2client

StarCraft II Client - Java library supported on Windows, Linux and Mac designed for building scripted bots and research using the SC2API.
MIT License
55 stars 15 forks source link

fix: sc2 version is no longer hardcoded to most recent version #76

Closed Ketroc closed 4 months ago

Ketroc commented 4 months ago

This change uses GAME_EXE_PATH config value, which is set by first checking for the author's inputted path from setProcessPath() method or "-e=" command line argument. If neither is set then it defaults to path of the latest version of sc2 otherwise.