Fix bug preventing local mod install (#558)
Some checks failed
🔨 Build / App (macos-12) (push) Has been cancelled
🔨 Build / App (ubuntu-20.04) (push) Has been cancelled
🔨 Build / App (windows-latest) (push) Has been cancelled
📝 Linter / Frontend (push) Has been cancelled
📝 Linter / Backend Formatting (push) Has been cancelled
📝 Linter / Backend Linter (push) Has been cancelled
🧪 Tests / Frontend (push) Has been cancelled

This commit is contained in:
Matt Dallmeyer 2024-09-15 08:43:28 -07:00 committed by GitHub
parent cb40fc734f
commit cf06ce7e80
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -144,12 +144,12 @@ export async function getModSources(): Promise<ModSource[]> {
export async function extractNewMod(
gameName: string,
zipPath: string,
bundlePath: string,
modSource: string,
): Promise<InstallationOutput> {
return await invoke_rpc(
"extract_new_mod",
{ gameName, zipPath, modSource },
{ gameName, bundlePath, modSource },
() => failed("Failed to extract mod"),
);
}