Enable plugins/themes on download.

This commit is contained in:
Henry Hiles 2022-06-15 14:14:26 -04:00
parent fe3018ce37
commit 902b869137
2 changed files with 11 additions and 1 deletions

View file

@ -14,7 +14,9 @@ contextBridge.exposeInMainWorld("download", async (link, plugin) => {
cwd: pluginsPath,
})
return { reloadMessage: "Please reload discord with Ctrl+R" }
return {
reloadMessage: "Please reload discord with Ctrl+R.",
}
} catch (error) {
return { error }
}