Packaged builds: macOS (universal, ad-hoc signed) and Windows, tools/export.sh

This commit is contained in:
Paul Bailey
2026-11-05 16:40:47 +00:00
parent bd7d10a829
commit a8eaf0d12e
6 changed files with 172 additions and 2 deletions

View File

@@ -34,6 +34,25 @@ godot --path .
godot --headless --path . -- --server
```
## Packaged builds
```bash
tools/export.sh # build/Emberwild-<version>-macos.zip and -windows.zip
tools/export.sh macOS # or just one ("macOS" / "Windows")
```
Needs the Godot export templates for your Godot version (Editor > Manage
Export Templates). The version number is `application/short_version` in
`export_presets.cfg`.
- **Mac:** a universal .app, ad-hoc signed but not notarised. On another Mac,
the first launch needs right-click > Open (or System Settings > Privacy &
Security > Open Anyway).
- **Windows:** unzip and run `Emberwild.exe` (keep `Emberwild.pck` beside
it). It's unsigned, so SmartScreen says "Windows protected your PC":
More info > Run anyway.
- A packaged copy is also a dedicated server:
`Emberwild.app/Contents/MacOS/Emberwild --headless -- --server` (Mac) or
`Emberwild.exe --headless -- --server` (Windows). Saves and settings live in
the same user folder as a copy run from source.
## Layout
```
project.godot Godot project definition