compile macos - Tom5521/GZGoLauncher GitHub Wiki
Compilation for MacOS
The output of the compilation will be found in fyne-cross/dist/
Native MacOS system
Requirements:
- Fyne package
- C compiler
- Go compiler
- Just
Instructions:
- Run
cp ./cmd/GZGoLauncher/* . && fyne package --os darwin --arch [your architecture] --release --icon ./assets/cacodemon.png && rm main.go FyneApp.toml
Alternative way for all systems
Note: This thing is broken.
Requirements:
- Docker/Podman, etc.
- Fyne-Cross package
- Mage
Instructions:
- Download Command line tools for xcode>= 12.4 (macOS SDK 11.x)
- Extract it following the instructions
- Create the SDKs folder and inside paste or create a symlink to MacOSX11.sdk
- Run
mage build:macARM
ormage build:macAMD
depending on what architecture you are looking to compile for