fixed and updated
This commit is contained in:
parent
30319c0d8c
commit
74f18a7430
2
main.js
2
main.js
@ -17,7 +17,7 @@ app.on("ready", () => {
|
|||||||
|
|
||||||
mainApp.setFullScreen(true)
|
mainApp.setFullScreen(true)
|
||||||
mainApp.setTitle("DR PROFESSIONAL CLINIC");
|
mainApp.setTitle("DR PROFESSIONAL CLINIC");
|
||||||
mainApp.loadURL("http://clinic.cubetiq.online?platform=desktop");
|
mainApp.loadURL(process.env.DR_URL);
|
||||||
|
|
||||||
mainApp.on("closed", () => {
|
mainApp.on("closed", () => {
|
||||||
mainApp = null;
|
mainApp = null;
|
||||||
|
@ -11,8 +11,8 @@
|
|||||||
"postinstall": "electron-builder install-app-deps",
|
"postinstall": "electron-builder install-app-deps",
|
||||||
"start": "yarn && electron ./main",
|
"start": "yarn && electron ./main",
|
||||||
"pack": "electron-builder --dir",
|
"pack": "electron-builder --dir",
|
||||||
"dist": "electron-builder --config ./config/electron-builder-dev.json",
|
"dist": "DR_URL=http://clinic.cubetiq.online?platform=desktop electron-builder --config ./config/electron-builder-dev.json",
|
||||||
"sandbox": "electron-builder --config ./config/electron-builder-sandbox.json",
|
"sandbox": "DR_URL=http://sandbox.clinic.cubetiq.online?platform=desktop electron-builder --config ./config/electron-builder-sandbox.json",
|
||||||
"builder-help": "electron-builder --help",
|
"builder-help": "electron-builder --help",
|
||||||
"test": "echo \"Error: no test specified\" && exit 1"
|
"test": "echo \"Error: no test specified\" && exit 1"
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user