Add auto bundle script
This commit is contained in:
@@ -52,13 +52,13 @@ class ElectronApp {
|
||||
webPreferences: { preload }
|
||||
});
|
||||
|
||||
this.simulatorWindow.loadURL(this.serviceUrl);
|
||||
this.simulatorWindow.loadURL(this.serviceUrl + (ENV.LIVING_TOGETHER_WEB_PATH ?? "/resources/app/"));
|
||||
|
||||
this.handelSimulatorWindowBehavior();
|
||||
|
||||
app.on('window-all-closed', function () {
|
||||
if (process.platform !== 'darwin') app.quit()
|
||||
})
|
||||
});
|
||||
}
|
||||
|
||||
private handelSimulatorWindowBehavior() {
|
||||
|
||||
@@ -42,7 +42,7 @@ class Service {
|
||||
|
||||
console.log("Service: service run in port " + this.servicePort);
|
||||
|
||||
return "http://127.0.0.1:" + this.servicePort + "/";
|
||||
return "http://127.0.0.1:" + this.servicePort;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user