mirror of
https://github.com/tobspr/shapez.io.git
synced 2025-12-15 19:21:49 +00:00
allow command line switch to load more than one mod
This commit is contained in:
parent
1c585986d2
commit
0e864230a5
@ -361,7 +361,8 @@ ipcMain.handle("get-mods", async () => {
|
|||||||
|
|
||||||
if (externalMod) {
|
if (externalMod) {
|
||||||
console.log("Adding external mod source:", externalMod);
|
console.log("Adding external mod source:", externalMod);
|
||||||
modFiles.push(externalMod);
|
const externalModPaths = externalMod.split(",");
|
||||||
|
modFiles = modFiles.concat(externalModPaths);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (modFiles.length > 0 && !isDev) {
|
if (modFiles.length > 0 && !isDev) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user