Skip to content

Build your own

Install Git, the Flutter version specified in app/pubspec.yaml, and the Rust toolchain pinned in rust-toolchain.toml. Install Flutter’s platform build dependencies for your target. The native Luau plugin is built through Flutter’s native asset hooks.

Terminal window
git clone https://github.com/LinwoodDev/Setonix.git
cd Setonix
dart pub get -C tools
dart run tools/generate.dart
cd app
flutter pub get

The generation step prepares the bundled core pack and other generated assets. See CONTRIBUTING.md for native dependencies, Windows symbolic-link setup, code generation, and checks.

Run the command appropriate for your target from app/:

TargetCommand
Android APKflutter build apk
Android app bundleflutter build appbundle
Linuxflutter build linux
Windowsflutter build windows
macOSflutter build macos
iOS without signingflutter build ios --release --no-codesign

Build desktop and Apple targets on a supported host OS with its required toolchain. iOS distribution needs a suitable signing or sideloading workflow. Outputs are under app/build/.

For the browser build, also compile the Luau Wasm runtime and generate offline assets. Follow web app self-hosting for the complete build steps.

To run during development, use flutter run after preparing the repository. For the separate Dart game server, see server documentation and the server package’s source.