1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2025-12-13 10:11:50 +00:00

allow command line switch to load more than one mod (#1342)

This commit is contained in:
Emerald Block 2022-01-20 10:56:26 -06:00 committed by GitHub
parent 7a1dedd2c8
commit 839d203737
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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) {