You've already forked AstralRinth
Merge tag 'v0.10.20' into beta
This commit is contained in:
@@ -35,6 +35,14 @@ export async function elyby_auth_authenticate(login, password, clientToken) {
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* Check if the authentication servers are reachable, throwing an exception if
|
||||
* not reachable.
|
||||
*/
|
||||
export async function check_reachable() {
|
||||
await invoke('plugin:auth|check_reachable')
|
||||
}
|
||||
|
||||
/**
|
||||
* Authenticate a user with Hydra - part 1.
|
||||
* This begins the authentication flow quasi-synchronously.
|
||||
|
||||
@@ -18,7 +18,7 @@ import { install_to_existing_profile } from '@/helpers/pack.js'
|
||||
- icon is a path to an image file, which will be copied into the profile directory
|
||||
*/
|
||||
|
||||
export async function create(name, gameVersion, modloader, loaderVersion, iconPath, skipInstall) {
|
||||
export async function create(name, gameVersion, modloader, loaderVersion, icon, skipInstall) {
|
||||
//Trim string name to avoid "Unable to find directory"
|
||||
name = name.trim()
|
||||
return await invoke('plugin:profile-create|profile_create', {
|
||||
@@ -26,7 +26,7 @@ export async function create(name, gameVersion, modloader, loaderVersion, iconPa
|
||||
gameVersion,
|
||||
modloader,
|
||||
loaderVersion,
|
||||
iconPath,
|
||||
icon,
|
||||
skipInstall,
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user