You've already forked AstralRinth
forked from didirus/AstralRinth
49a20a303a
* initial migration * barebones profiles * Finish profiles * Add back file watcher * UI support progress * Finish most of cache * Fix options page * Fix forge, finish modrinth auth * Accounts, process cache * Run SQLX prepare * Finish * Run lint + actions * Fix version to be compat with windows * fix lint * actually fix lint * actually fix lint again
14 lines
437 B
JavaScript
14 lines
437 B
JavaScript
import { invoke } from '@tauri-apps/api/tauri'
|
|
|
|
/// Gets the game versions from daedalus
|
|
// Returns a VersionManifest
|
|
export async function get_game_versions() {
|
|
return await invoke('plugin:metadata|metadata_get_game_versions')
|
|
}
|
|
|
|
// Gets the given loader versions from daedalus
|
|
// Returns Manifest
|
|
export async function get_loader_versions(loader) {
|
|
return await invoke('plugin:metadata|metadata_get_loader_versions', { loader })
|
|
}
|