refactor: update comments to reflect modifications by AstralRinth
AstralRinth App build / Build (x86_64-pc-windows-msvc, windows-latest) (push) Has been cancelled
AstralRinth App build / Build (x86_64-unknown-linux-gnu, ubuntu-latest) (push) Has been cancelled

This commit is contained in:
2026-01-27 20:50:55 +03:00
parent 572800d9ca
commit e9bc01b0c7
21 changed files with 53 additions and 51 deletions
+2 -2
View File
@@ -17,7 +17,7 @@ export async function offline_login(name) {
return await invoke('plugin:auth|offline_login', { name: name })
}
// [AR] • Feature
// This code is modified by AstralRinth
export async function elyby_login(uuid, login, accessToken) {
return await invoke('plugin:auth|elyby_login', {
uuid,
@@ -26,7 +26,7 @@ export async function elyby_login(uuid, login, accessToken) {
})
}
// [AR] • Feature
// This code is modified by AstralRinth
export async function elyby_auth_authenticate(login, password, clientToken) {
return await invoke('plugin:auth|elyby_auth_authenticate', {
login,
+1 -1
View File
@@ -98,7 +98,7 @@ export async function friend_listener(callback) {
return await listen('friend', (event) => callback(event.payload))
}
// [AR] Payload for the 'info' event
// This code is modified by AstralRinth
export async function info_listener(callback) {
return await listen('info', (event) => callback(event.payload))
}
+3 -3
View File
@@ -27,18 +27,18 @@ export async function getOS() {
return await invoke('plugin:utils|get_os')
}
// [AR] Feature. Updater
// This code is modified by AstralRinth
export async function initUpdateLauncher(downloadUrl, filename, osType, autoUpdateSupported) {
console.log('Downloading build', downloadUrl, filename, osType, autoUpdateSupported)
return await invoke('plugin:utils|init_update_launcher', { downloadUrl, filename, osType, autoUpdateSupported })
}
// [AR] Migration. Patch
// This code is modified by AstralRinth
export async function applyMigrationFix(eol) {
return await invoke('plugin:utils|apply_migration_fix', { eol })
}
// [AR] Feature. Ely.by
// This code is modified by AstralRinth
export async function initAuthlibPatching(minecraftVersion, isMojang) {
return await invoke('plugin:utils|init_authlib_patching', { minecraftVersion, isMojang })
}