# Deploy for MacOS

{% hint style="warning" %}

## Requirements

* [Download Python3](https://www.python.org/downloads/macos/)
* [Download .NET 8.0](https://dotnet.microsoft.com/en-us/download/dotnet/8.0) \
  (If you are using Visual Studio enable it: **Preferences -> Other -> Preview Features -> Use the .NET 8 SDK if installed**)
* [Create a self-signed certificate](/documentation/launcher-integrations/flat-window-template/deploy-for-macos/create-a-self-signed-certificate.md)
* Own [GameLauncher-FlatWindow Template](https://assetstore.unity.com/packages/tools/utilities/game-launcher-flat-window-template-multiplatform-243463)
  {% endhint %}

1. In the ***GameLauncher-FlatWindow*** repository locate the ***MAC\_AppGenerato*****r folder**

<figure><img src="/files/vNTnJEh9TNKBRdvrMZ2c" alt=""><figcaption><p>GameLauncher-FlatWindow content</p></figcaption></figure>

2. In the Mac terminal, navigate to the ***MAC\_AppGenerator*** folder

<figure><img src="/files/qHY8oLZEIXuxvLnnAGLM" alt=""><figcaption><p>Mac Terminal</p></figcaption></figure>

3. Run the command \
   `python3 main.py`

   <figure><img src="/files/B7aZRazdpMY9EcCydfa8" alt=""><figcaption><p>Deploying</p></figcaption></figure>

Now the GameLauncher app is deployed!

<figure><img src="/files/S4aiu5bn2MM9aqUsSyAb" alt=""><figcaption><p>GameLauncher executable for Mac deployed</p></figcaption></figure>

Now you can continue with this step [2. Move your Launcher](/documentation/creating-launcher-version/2.-move-your-launcher.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://gamelauncher.gitbook.io/documentation/launcher-integrations/flat-window-template/deploy-for-macos.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
