mirror of
https://github.com/dscalzi/HeliosLauncher.git
synced 2024-12-22 19:52:14 -08:00
Compare commits
4 Commits
802ceaf8cc
...
d79f8a60c6
Author | SHA1 | Date | |
---|---|---|---|
|
d79f8a60c6 | ||
|
e6cf76b436 | ||
|
f551a064ce | ||
|
84c34e84ab |
@ -48,7 +48,7 @@ if(!isDev){
|
|||||||
loggerAutoUpdater.info('New update available', info.version)
|
loggerAutoUpdater.info('New update available', info.version)
|
||||||
|
|
||||||
if(process.platform === 'darwin'){
|
if(process.platform === 'darwin'){
|
||||||
info.darwindownload = `https://github.com/dscalzi/HeliosLauncher/releases/download/v${info.version}/Helios-Launcher-setup-${info.version}${process.arch === 'arm64' ? '-arm64' : '-x64'}.dmg`
|
info.darwindownload = `https://github.com/dscalzi/HeliosLauncher/releases/download/v${info.version}/Helios-Launcher-setup.dmg`
|
||||||
showUpdateUI(info)
|
showUpdateUI(info)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -18,18 +18,35 @@ Authenticating with Microsoft is fully supported by Helios Launcher.
|
|||||||
- Select **Mobile and desktop applications**.
|
- Select **Mobile and desktop applications**.
|
||||||
- Choose `https://login.microsoftonline.com/common/oauth2/nativeclient` as the **Redirect URI**.
|
- Choose `https://login.microsoftonline.com/common/oauth2/nativeclient` as the **Redirect URI**.
|
||||||
- Select **Configure** to finish adding the platform.
|
- Select **Configure** to finish adding the platform.
|
||||||
|
8. Go to **Credentials & secrets**.
|
||||||
|
- Select **Client secrets**.
|
||||||
|
- Click **New client secret**.
|
||||||
|
- Set a description.
|
||||||
|
- Click **Add**.
|
||||||
|
- Don't copy the client secret, adding one is just a requirement from Microsoft.
|
||||||
8. Navigate back to **Overview**.
|
8. Navigate back to **Overview**.
|
||||||
9. Copy **Application (client) ID**.
|
9. Copy **Application (client) ID**.
|
||||||
|
|
||||||
|
|
||||||
Reference: https://docs.microsoft.com/en-us/azure/active-directory/develop/quickstart-register-app
|
|
||||||
|
|
||||||
## Adding the Azure Client ID to Helios Launcher.
|
## Adding the Azure Client ID to Helios Launcher.
|
||||||
|
|
||||||
In `app/assets/js/ipcconstants.js` you'll find **`AZURE_CLIENT_ID`**. Set it to your application's id.
|
In `app/assets/js/ipcconstants.js` you'll find **`AZURE_CLIENT_ID`**. Set it to your application's id.
|
||||||
|
|
||||||
Note: Azure Client ID is NOT a secret value and **can** be stored in git. Reference: https://stackoverflow.com/questions/57306964/are-azure-active-directorys-tenantid-and-clientid-considered-secrets
|
Note: Azure Client ID is NOT a secret value and **can** be stored in git. Reference: https://stackoverflow.com/questions/57306964/are-azure-active-directorys-tenantid-and-clientid-considered-secrets
|
||||||
|
|
||||||
|
Then relaunch your app, and login. You'll be greeted with an error message, because the app isn't whitelisted yet. Microsoft needs some activity on the app before whitelisting it. __Trying to log in before requesting whitelist is mandatory.__
|
||||||
|
|
||||||
|
## Requesting whitelisting from Microsoft
|
||||||
|
|
||||||
|
1. Ensure you have completed every step of this doc page.
|
||||||
|
2. Fill [this form](https://aka.ms/mce-reviewappid) with the required information. Remember this is a new appID for approval. You can find both the Client ID and the Tenant ID on the overview page in the Azure Portal.
|
||||||
|
3. Give Microsoft some time to review your app.
|
||||||
|
4. Once you have received Microsoft's approval, allow up to 24 hours for the changes to apply.
|
||||||
|
|
||||||
----
|
----
|
||||||
|
|
||||||
You can now authenticate with Microsoft through the launcher.
|
You can now authenticate with Microsoft through the launcher.
|
||||||
|
|
||||||
|
References:
|
||||||
|
- https://docs.microsoft.com/en-us/azure/active-directory/develop/quickstart-register-app
|
||||||
|
- https://help.minecraft.net/hc/en-us/articles/16254801392141
|
@ -31,9 +31,8 @@ mac:
|
|||||||
target:
|
target:
|
||||||
- target: 'dmg'
|
- target: 'dmg'
|
||||||
arch:
|
arch:
|
||||||
- 'x64'
|
- 'universal'
|
||||||
- 'arm64'
|
artifactName: '${productName}-setup-${version}.${ext}'
|
||||||
artifactName: '${productName}-setup-${version}-${arch}.${ext}'
|
|
||||||
category: 'public.app-category.games'
|
category: 'public.app-category.games'
|
||||||
|
|
||||||
# Linux Configuration
|
# Linux Configuration
|
||||||
|
Loading…
Reference in New Issue
Block a user