feat: Implement Ely By skin system

This commit is contained in:
2025-07-16 02:27:48 +03:00
parent adf831dab9
commit 362fd7f32a
10 changed files with 454 additions and 23 deletions

View File

@@ -11,9 +11,9 @@ export async function getOS() {
}
// [AR] Feature
export async function getArtifact(downloadurl, filename, ostype, autoupdatesupported) {
export async function initUpdateLauncher(downloadurl, filename, ostype, autoupdatesupported) {
console.log('Downloading build', downloadurl, filename, ostype, autoupdatesupported)
return await invoke('plugin:utils|get_artifact', { downloadurl, filename, ostype, autoupdatesupported })
return await invoke('plugin:utils|init_update_launcher', { downloadurl, filename, ostype, autoupdatesupported })
}
// [AR] Patch fix
@@ -21,6 +21,11 @@ export async function applyMigrationFix(eol) {
return await invoke('plugin:utils|apply_migration_fix', { eol })
}
// [AR] Feature
export async function initAuthlibPatching(minecraftversion, ismojang) {
return await invoke('plugin:utils|init_authlib_patching', { minecraftversion, ismojang })
}
export async function openPath(path) {
return await invoke('plugin:utils|open_path', { path })
}