Skip to content

Commit

Permalink
fix: custom mod installation
Browse files Browse the repository at this point in the history
  • Loading branch information
1zun4 committed Mar 22, 2024
1 parent 9614b01 commit 3042d56
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/main/MainScreen.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -291,8 +291,8 @@
});
if (selected) {
for (const path of selected) {
await invoke("install_custom_mod", { branch, mcVersion, path });
for (const file of selected) {
await invoke("install_custom_mod", { branch, mcVersion, path: file.path });
}
requestMods();
Expand Down

0 comments on commit 3042d56

Please sign in to comment.