2 Commits
v1.0.0 ... v1.2

Author SHA1 Message Date
1ba45f2f3a updated and build windows only 2020-09-26 12:32:11 +07:00
Sambo Chea
c167689434 Update main.js 2020-07-25 11:58:32 +07:00
5 changed files with 10 additions and 10 deletions

View File

@@ -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: |

View File

@@ -1 +1 @@
DR_URL=http://clinic.cubetiq.online?platform=desktop
DR_URL=https://clinic-dev.cubetiqs.com?platform=desktop

View File

@@ -1 +1 @@
DR_URL=http://sandbox.clinic.cubetiq.online?platform=desktop
DR_URL=https://clinic.cubetiqs.com?platform=desktop

View File

@@ -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;

View File

@@ -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",