go install github.com/air-verse/air@latest- Start the project
cd src
airThis will build the binary (AGO_Launcher.exe) and run it from resources/mods/ago_beta where there are various config files and example folders to use
If you want to test it on an actual mod folder in it's packaged state, you can run
cd src
fyne package -release -os windows && xcopy /Y "AGO_Launcher.exe" "E:\Steam\steamapps\common\Medieval II Total War\mods\ago_beta\AGO_Launcher.exe" &&"E:\Steam\steamapps\common\Medieval II Total War\mods\ago_beta\AGO_Launcher.exe"On macOS, use the helper script instead of xcopy and Windows paths:
./scripts/package-run-macos.sh /Users/jasonlee/Downloads/AGO_V3_InstallerWhen passed /Users/jasonlee/Downloads/AGO_V3_Installer, the script builds the
local Rust extractor in tools/ago-extractor, extracts the multi-part installer
payload into the macOS Steam Medieval2Data/mods/AGO_V3 folder, packages
AGO_Launcher.app, copies it into the mod folder, and opens it.
If you already have an extracted mod folder, pass that folder directly:
./scripts/package-run-macos.sh "$HOME/Library/Application Support/Steam/steamapps/common/Medieval II Total War/Medieval2Data/mods/AGO_V3"Use --no-open to package and copy without launching:
./scripts/package-run-macos.sh --no-open /Users/jasonlee/Downloads/AGO_V3_Installer


