mirror of
https://github.com/open-goal/launcher.git
synced 2024-10-19 14:47:36 -04:00
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
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:
parent
cb40fc734f
commit
cf06ce7e80
|
@ -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"),
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue