# 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](https://gamelauncher.gitbook.io/documentation/launcher-integrations/flat-window-template/deploy-for-macos/create-a-self-signed-certificate)
* 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="https://4090346021-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOQCKadC4SNL7ML9xwPi2%2Fuploads%2F97ZHunTdOBa0EEXS0hIw%2Fimage.png?alt=media&#x26;token=9ec85c76-61ce-4525-89a8-16cd65446aad" alt=""><figcaption><p>GameLauncher-FlatWindow content</p></figcaption></figure>

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

<figure><img src="https://4090346021-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOQCKadC4SNL7ML9xwPi2%2Fuploads%2FMTD5UT6dNwoGTNvwHXuY%2Fimage.png?alt=media&#x26;token=3fea12de-117b-470f-8e10-0694df7cbbd2" alt=""><figcaption><p>Mac Terminal</p></figcaption></figure>

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

   <figure><img src="https://4090346021-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOQCKadC4SNL7ML9xwPi2%2Fuploads%2F92NuNghCzGQj5MNfxtYW%2Fimage.png?alt=media&#x26;token=8dd4cd41-9100-4d8b-8417-9c3172d4fd80" alt=""><figcaption><p>Deploying</p></figcaption></figure>

Now the GameLauncher app is deployed!

<figure><img src="https://4090346021-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOQCKadC4SNL7ML9xwPi2%2Fuploads%2FLkM1td8q8Js5dAecfaNL%2Fimage.png?alt=media&#x26;token=f367807e-b07b-4fe6-9ac5-4146374e7368" alt=""><figcaption><p>GameLauncher executable for Mac deployed</p></figcaption></figure>

Now you can continue with this step [2. Move your Launcher](https://gamelauncher.gitbook.io/documentation/creating-launcher-version/2.-move-your-launcher)
