diff --git a/theseus_gui/src/assets/icons/index.js b/theseus_gui/src/assets/icons/index.js index a31b1728c..195e41cfc 100644 --- a/theseus_gui/src/assets/icons/index.js +++ b/theseus_gui/src/assets/icons/index.js @@ -2,3 +2,5 @@ export { default as ServerIcon } from './server.svg' export { default as MinimizeIcon } from './minimize.svg' export { default as MaximizeIcon } from './maximize.svg' export { default as SwapIcon } from './arrow-left-right.svg' +export { default as PackageIcon } from './package.svg' +export { default as VersionIcon } from './milestone.svg' diff --git a/theseus_gui/src/assets/icons/milestone.svg b/theseus_gui/src/assets/icons/milestone.svg new file mode 100644 index 000000000..d93649844 --- /dev/null +++ b/theseus_gui/src/assets/icons/milestone.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/theseus_gui/src/assets/icons/package.svg b/theseus_gui/src/assets/icons/package.svg new file mode 100644 index 000000000..fb3a2cb1f --- /dev/null +++ b/theseus_gui/src/assets/icons/package.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/theseus_gui/src/components/ui/ExportModal.vue b/theseus_gui/src/components/ui/ExportModal.vue new file mode 100644 index 000000000..15a1065d9 --- /dev/null +++ b/theseus_gui/src/components/ui/ExportModal.vue @@ -0,0 +1,238 @@ + + + + + diff --git a/theseus_gui/src/helpers/profile.js b/theseus_gui/src/helpers/profile.js index a23f3fd07..b6eb21b3f 100644 --- a/theseus_gui/src/helpers/profile.js +++ b/theseus_gui/src/helpers/profile.js @@ -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 diff --git a/theseus_gui/src/pages/instance/Index.vue b/theseus_gui/src/pages/instance/Index.vue index d0677da5f..8db75a1e3 100644 --- a/theseus_gui/src/pages/instance/Index.vue +++ b/theseus_gui/src/pages/instance/Index.vue @@ -72,6 +72,13 @@ Options +
+
+ +
@@ -95,6 +102,7 @@ +