Add instructions for custom build

This commit is contained in:
Ramon Gonzalez Fernandez 2022-02-23 09:49:16 -05:00
parent 36cbd7a47c
commit 2ba63d1eb8
10 changed files with 35 additions and 0 deletions

34
Custom-Build.md Normal file
View file

@ -0,0 +1,34 @@
# Custom Build
In order to build your own version of MultiMC, you need to create your own token and include it in the sources.
This is done on the Azure portal through the following steps:
1. Open Azure Active Directory on the portal.
![](images/AzureToken1.png)
2. Add a new App Registration
![](images/AzureToken2.png)
![](images/AzureToken3.png)
3. Give it a name and set the supported account types to `Personal Microsoft accounts only`.
![](images/AzureToken4.png)
1. If you were not able to set the account type as `Personal Microsoft accounts only`, go to the `Manifest` tab and change the line starting with `"signInAudience":` to `"signInAudience": "PersonalMicrosoftAccount",`. (If `accessTokenAcceptedVersion` is set to null, change it to `2`)
4. Go to the Authentication tab.
![](images/AzureToken5.png)
5. Enable `Live SDK support` and `Allow public client flows`.
![](images/AzureToken6.png)
6. Go to the overview tab.
![](images/AzureToken7.png)
7. Copy the Application ID into the secrets.cpp file `MSAClientID` variable.
![](images/AzureToken8.png)
8. Rename the `notsecrets` folder to `secrets`.
9. Build using the [instructions](https://github.com/MultiMC/Launcher/blob/develop/BUILD.md).

View file

@ -47,6 +47,7 @@
* [[JSON Patches]]
* [[Directory Structure]]
* [[Custom Icons]]
* [[Custom Build]]
**External**

BIN
images/AzureToken1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

BIN
images/AzureToken2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

BIN
images/AzureToken3.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

BIN
images/AzureToken4.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

BIN
images/AzureToken5.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

BIN
images/AzureToken6.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

BIN
images/AzureToken7.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

BIN
images/AzureToken8.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB