Desktop & mobile devices
Learn how to distribute your game for desktop and mobile platforms using Tauri and GitHub Actions.
There are several ways to distribute your game for desktop and mobile platforms. Common choices include Tauri, Ionic, Electron and NW.js.
If you don't want to manage a heavily customized native project, consider using the multi-device templates. Those templates include Tauri so you can develop a web app and also build desktop and mobile apps from the same codebase.
Distributing your game with Tauri
Creating releases manually for every platform is difficult: it requires many tools to be installed, and building iOS apps requires a Mac. For these reasons, manual release generation is generally not recommended.
Tauri supports using GitHub Actions to automate release builds. GitHub Actions runs jobs on virtual machines (runners) that you configure with YAML workflow files. In a workflow you define the events that trigger the pipeline (for example, pushing a tag) and the list of commands the runner should execute.
To trigger this workflow you need a GitHub repository for your project and a Git tag that starts with v. For example:
git tag v1.0.0
git push origin v1.0.0You can follow the workflow runs in the repository's Actions tab.
At the end of a successful run a GitHub Release will be created. Read more about GitHub Releases here.