Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 1ba45f2f3a | |||
|
|
c167689434 |
10
.github/workflows/electron-sandbox.yml
vendored
10
.github/workflows/electron-sandbox.yml
vendored
@@ -29,11 +29,11 @@ jobs:
|
||||
- name: Publish
|
||||
run: |
|
||||
yarn run dist
|
||||
- name: Cleanup artifacts Linux and macOS
|
||||
if: matrix.os != 'windows-latest'
|
||||
run: |
|
||||
mkdir artifacts
|
||||
cp -R dist/{*.deb,*.dmg,*.AppImage} artifacts || true
|
||||
# - name: Cleanup artifacts Linux and macOS
|
||||
# if: matrix.os != 'windows-latest'
|
||||
# run: |
|
||||
# mkdir artifacts
|
||||
# cp -R dist/{*.deb,*.dmg,*.AppImage} artifacts || true
|
||||
- name: Cleanup artifacts Windowns
|
||||
if: matrix.os == 'windows-latest'
|
||||
run: |
|
||||
|
||||
@@ -1 +1 @@
|
||||
DR_URL=http://clinic.cubetiq.online?platform=desktop
|
||||
DR_URL=https://clinic-dev.cubetiqs.com?platform=desktop
|
||||
@@ -1 +1 @@
|
||||
DR_URL=http://sandbox.clinic.cubetiq.online?platform=desktop
|
||||
DR_URL=https://clinic.cubetiqs.com?platform=desktop
|
||||
4
main.js
4
main.js
@@ -1,8 +1,8 @@
|
||||
const electron = require("electron");
|
||||
const { app, BrowserWindow } = electron;
|
||||
|
||||
const DR_URL = process.env.DR_URL || "http://sandbox.clinic.cubetiq.online?platform=desktop&offline=true&source=" + (process.env.USERNAME || "unknown");
|
||||
const DR_TITLE = "DR PROFESSIONAL CLINIC"
|
||||
const DR_URL = process.env.DR_URL || "https://clinic.cubetiqs.com?platform=desktop&offline=true&source=" + (process.env.USERNAME || "unknown");
|
||||
const DR_TITLE = "CUBETIQ CLINIC"
|
||||
|
||||
let mainApp;
|
||||
app.allowRendererProcessReuse = true;
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
},
|
||||
"scripts": {
|
||||
"postinstall": "electron-builder install-app-deps",
|
||||
"start": "yarn && cross-env DR_URL=http://clinic.cubetiq.online?platform=desktop electron ./main",
|
||||
"start": "yarn && cross-env DR_URL=https://clinic.cubetiqs.com?platform=desktop electron ./main",
|
||||
"pack": "electron-builder --dir",
|
||||
"dist": "electron-builder",
|
||||
"builder-help": "electron-builder --help",
|
||||
|
||||
Reference in New Issue
Block a user