1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2025-12-13 02:01:51 +00:00

allow command line switch to load more than one mod

This commit is contained in:
EmeraldBlock 2022-01-18 17:12:53 -06:00
parent 1c585986d2
commit 0e864230a5

View File

@ -361,7 +361,8 @@ ipcMain.handle("get-mods", async () => {
if (externalMod) {
console.log("Adding external mod source:", externalMod);
modFiles.push(externalMod);
const externalModPaths = externalMod.split(",");
modFiles = modFiles.concat(externalModPaths);
}
if (modFiles.length > 0 && !isDev) {