# 1. Deploy your Launcher

{% hint style="success" %}
*If you are deploying the Launcher for MacOS go here:* [*Deploy for MacOS*](https://gamelauncher.gitbook.io/documentation/launcher-integrations/flat-window-template/deploy-for-macos)
{% endhint %}

{% hint style="danger" %}
This tutorial assumes you correctly installed the Game Launcher in your server.

If you haven't done so, go here: [**Installation**](https://gamelauncher.gitbook.io/documentation/game-launcher/installation)
{% endhint %}

{% hint style="warning" %}
**This tutorial requires**

* Open *<mark style="color:purple;">**GameLauncher.sln**</mark>* in Visual Studio
* Open the [**Patch Manager**](https://gamelauncher.gitbook.io/documentation/game-launcher/patch-manager-app) **App**
  {% endhint %}

### Building the Launcher

{% hint style="info" %}
Make sure ***GameLauncher*** is selected in Solution Explorer before continue

![](https://4090346021-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOQCKadC4SNL7ML9xwPi2%2Fuploads%2F5wLuAKcsQnZb9NDTLPem%2Fimage.png?alt=media\&token=765929c9-7efa-42cd-a35a-d49f65d874fe)
{% endhint %}

1. In Visual Studio Navigation Menu, go to **Build -> Publish**

{% hint style="info" %}
The first time you have to create a **Publish Profile**\
Please select **Folder** -> **Finish**\
![](https://4090346021-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOQCKadC4SNL7ML9xwPi2%2Fuploads%2FbXaF1SrJ3JrGXLeFeluM%2Fimage.png?alt=media\&token=a1ed9d29-b44b-4b4f-a4c9-65f54a61c915)
{% endhint %}

![](https://4090346021-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOQCKadC4SNL7ML9xwPi2%2Fuploads%2FD6vtDHhR6xAbJDrqKA7r%2FBuild%20the%20Launcher.gif?alt=media\&token=a708e0e0-3ded-4389-a2ae-1c8063e700f5)

2\. In the opened window, press **Publish**

![](https://4090346021-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOQCKadC4SNL7ML9xwPi2%2Fuploads%2F8QmbFEN963BlnMW0iLu8%2Fimage.png?alt=media\&token=926b90c0-09ea-4b53-b0ed-339918cf77a4)

3\. After the build compiled, press in **Target location** -> ***bin\Release\Publish*** to open the folder

![](https://4090346021-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOQCKadC4SNL7ML9xwPi2%2Fuploads%2FinaUALxstTTyCVebVoAi%2FOpen%20Build%20Folder.gif?alt=media\&token=08c3c83f-6d2f-4d63-a5cb-8d91379b4ac7)

Now you have your **Launcher file**!

{% hint style="warning" %}
You only need the ***GameLauncher.exe*** file. The .**pdb** file is **not** required.
{% endhint %}

![](https://4090346021-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOQCKadC4SNL7ML9xwPi2%2Fuploads%2FjESsSeBOLan7tJYETzJk%2Fimage.png?alt=media\&token=43c04234-e2ee-46d4-88bf-6ff8651a2aff)

**Use this to create your launcher version!**

Next step:

[**2. Create Launcher version**](https://gamelauncher.gitbook.io/documentation/creating-launcher-version/2.-move-your-launcher)


---

# 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/creating-launcher-version/1.-deploy-your-launcher.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.
