Export UI (#297)

* Exporting

* Linter

* Fixed helper error

* Delete export
This commit is contained in:
Adrian O.V
2023-06-30 11:14:06 -04:00
committed by GitHub
parent 91d3bf825d
commit 815d0a60bc
8 changed files with 272 additions and 5 deletions

View File

@@ -98,7 +98,7 @@ export async function remove_project(path, projectPath) {
/// included_overrides is an array of paths to override folders to include (ie: 'mods', 'resource_packs')
// Version id is optional (ie: 1.1.5)
export async function export_profile_mrpack(path, exportLocation, includedOverrides, versionId) {
return await invoke('profile_export_mrpack', {
return await invoke('plugin:profile|profile_export_mrpack', {
path,
exportLocation,
includedOverrides,
@@ -115,7 +115,7 @@ export async function export_profile_mrpack(path, exportLocation, includedOverri
// => [mods, resourcepacks]
// allows selection for 'included_overrides' in export_profile_mrpack
export async function get_potential_override_folders(profilePath) {
return await invoke('profile_get_potential_override_folders', { profilePath })
return await invoke('plugin:profile|profile_get_potential_override_folders', { profilePath })
}
// Run Minecraft using a pathed profile