From 8f0d01694248e2ace541aa8e78d1f039bf05bdbf Mon Sep 17 00:00:00 2001 From: Thoronium <107363768+NotThorny@users.noreply.github.com> Date: Sun, 14 May 2023 13:51:59 -0600 Subject: [PATCH] Support GIMI v7 --- src/ui/Main.tsx | 3 --- src/ui/components/menu/Downloads.tsx | 2 +- src/ui/components/menu/Options.tsx | 4 ---- 3 files changed, 1 insertion(+), 8 deletions(-) diff --git a/src/ui/Main.tsx b/src/ui/Main.tsx index 13c903de..abb8926a 100644 --- a/src/ui/Main.tsx +++ b/src/ui/Main.tsx @@ -72,9 +72,6 @@ export class Main extends React.Component { listen('migoto_extracted', ({ payload }: { payload: string }) => { setConfigOption('migoto_path', payload) - invoke('set_migoto_target', { - migotoPath: payload, - }) }) // Emitted for rsa replacing-purposes diff --git a/src/ui/components/menu/Downloads.tsx b/src/ui/components/menu/Downloads.tsx index d83ace42..7e303899 100644 --- a/src/ui/components/menu/Downloads.tsx +++ b/src/ui/components/menu/Downloads.tsx @@ -20,7 +20,7 @@ const STABLE_DOWNLOAD = 'https://nightly.link/Grasscutters/Grasscutter/workflows const DEV_DOWNLOAD = 'https://nightly.link/Grasscutters/Grasscutter/workflows/build/development/Grasscutter.zip' const RESOURCES_DOWNLOAD = 'https://gitlab.com/YuukiPS/GC-Resources/-/archive/3.5/GC-Resources-3.5.zip' // Use Yuuki res as grasscutter crepe res are broken const MIGOTO_DOWNLOAD = - 'https://github.com/SilentNightSound/GI-Model-Importer/releases/download/V6.0/3dmigoto-GIMI-for-playing-mods.zip' + 'https://github.com/SilentNightSound/GI-Model-Importer/releases/download/v7.0/3dmigoto-GIMI-for-playing-mods.zip' interface IProps { closeFn: () => void diff --git a/src/ui/components/menu/Options.tsx b/src/ui/components/menu/Options.tsx index ffa47f53..a01c1967 100644 --- a/src/ui/components/menu/Options.tsx +++ b/src/ui/components/menu/Options.tsx @@ -195,10 +195,6 @@ export default class Options extends React.Component { migoto_path: value, }) - // Set game exe in Migoto ini - invoke('set_migoto_target', { - migotoPath: value, - }) } setReshade(value: string) {