mirror of
https://github.com/modrinth/code.git
synced 2026-08-28 10:34:53 +00:00
Instance creation (#91)
* Base impl * Image upload preview * Run lint * Add metadata * Clean uo * fix tauri conf * Addressed changes * Update InstanceCreationModal.vue --------- Co-authored-by: Geometrically <18202329+Geometrically@users.noreply.github.com> Co-authored-by: Jai A <jaiagr+gpg@pm.me>
This commit is contained in:
co-authored by
Geometrically
Jai A
parent
79ef48549f
commit
c53104c28e
@@ -21,8 +21,8 @@ export async function create_empty() {
|
||||
- icon is a path to an image file, which will be copied into the profile directory
|
||||
*/
|
||||
|
||||
export async function create(name, game_version, modloader, loader_version, icon) {
|
||||
return await invoke('profile_create', { name, game_version, modloader, loader_version, icon })
|
||||
export async function create(name, gameVersion, modloader, loaderVersion, icon) {
|
||||
return await invoke('profile_create', { name, gameVersion, modloader, loaderVersion, icon })
|
||||
}
|
||||
|
||||
// Remove a profile
|
||||
|
||||
Reference in New Issue
Block a user