Loading .env.development.litedeleted 100644 → 0 +0 −4 Original line number Diff line number Diff line NODE_ENV=development VUE_APP_PLATFORM=web VUE_APP_TARGET=web VUE_APP_LITEMODE=true No newline at end of file .env.production.litedeleted 100644 → 0 +0 −4 Original line number Diff line number Diff line NODE_ENV=production VUE_APP_PLATFORM=web VUE_APP_TARGET=web VUE_APP_LITEMODE=true No newline at end of file app/builder-config-base.yaml +0 −1 Original line number Diff line number Diff line Loading @@ -26,6 +26,5 @@ files: - '!**/app/installers${/*}' - '!**/hooks${/*}' - '!**/platforms${/*}' - '!**/dist-lite*${/*}' - '!**/release-builds${/*}' - '!src${/*}' package.json +0 −2 Original line number Diff line number Diff line Loading @@ -12,10 +12,8 @@ "main": "./app/app.js", "scripts": { "build:web": "vue-cli-service build --mode production.web", "build:lite": "vue-cli-service build --mode production.lite", "build:app": "vue-cli-service build --mode production.app", "serve:web": "vue-cli-service serve --mode development.web", "serve:lite": "vue-cli-service serve --mode development.lite", "start": "npm run build:app && electron app/app.js", "dist:linux": "electron-builder --linux --config app/builder-config-x86_64.yaml", "dist:raspi": "electron-builder --linux --config app/builder-config-raspi.yaml", Loading src/App.vue +17 −27 Original line number Diff line number Diff line Loading @@ -48,7 +48,6 @@ export default { keysDown: {}, systemDark: undefined, themeObserver: undefined, liteMode: process.env.VUE_APP_LITEMODE == "true" ? true : false, isElectron: isElectron(), tourCallbacks: { onStop: () => { Loading Loading @@ -95,18 +94,15 @@ export default { placement: "bottom" } }, ...(!this.liteMode ? [ { target: "#new-connection-card", header: { title: "New connection" }, content: `Connect locally if you're running on a microscope, \nor open a new remote connection to a microscope` } ] : []), ...(this.isElectron && !this.liteMode }, ...(this.isElectron ? [ { target: "#nearby-connections-grid", Loading @@ -117,17 +113,14 @@ export default { } ] : []), ...(!this.liteMode ? [ { target: "#saved-connections-grid", header: { title: "Saved microscopes" }, content: `Connect to your saved microscopes for faster access` } ] : []), }, { target: "#gallery-tab-icon", header: { Loading Loading @@ -168,9 +161,6 @@ export default { }, mounted() { if (process.env.VUE_APP_LITEMODE == "true") { console.log("Built lite-mode"); } // Query CSS dark theme preference var mql = window.matchMedia("(prefers-color-scheme: dark)"); // Check for system dark theme when mounted Loading Loading
.env.development.litedeleted 100644 → 0 +0 −4 Original line number Diff line number Diff line NODE_ENV=development VUE_APP_PLATFORM=web VUE_APP_TARGET=web VUE_APP_LITEMODE=true No newline at end of file
.env.production.litedeleted 100644 → 0 +0 −4 Original line number Diff line number Diff line NODE_ENV=production VUE_APP_PLATFORM=web VUE_APP_TARGET=web VUE_APP_LITEMODE=true No newline at end of file
app/builder-config-base.yaml +0 −1 Original line number Diff line number Diff line Loading @@ -26,6 +26,5 @@ files: - '!**/app/installers${/*}' - '!**/hooks${/*}' - '!**/platforms${/*}' - '!**/dist-lite*${/*}' - '!**/release-builds${/*}' - '!src${/*}'
package.json +0 −2 Original line number Diff line number Diff line Loading @@ -12,10 +12,8 @@ "main": "./app/app.js", "scripts": { "build:web": "vue-cli-service build --mode production.web", "build:lite": "vue-cli-service build --mode production.lite", "build:app": "vue-cli-service build --mode production.app", "serve:web": "vue-cli-service serve --mode development.web", "serve:lite": "vue-cli-service serve --mode development.lite", "start": "npm run build:app && electron app/app.js", "dist:linux": "electron-builder --linux --config app/builder-config-x86_64.yaml", "dist:raspi": "electron-builder --linux --config app/builder-config-raspi.yaml", Loading
src/App.vue +17 −27 Original line number Diff line number Diff line Loading @@ -48,7 +48,6 @@ export default { keysDown: {}, systemDark: undefined, themeObserver: undefined, liteMode: process.env.VUE_APP_LITEMODE == "true" ? true : false, isElectron: isElectron(), tourCallbacks: { onStop: () => { Loading Loading @@ -95,18 +94,15 @@ export default { placement: "bottom" } }, ...(!this.liteMode ? [ { target: "#new-connection-card", header: { title: "New connection" }, content: `Connect locally if you're running on a microscope, \nor open a new remote connection to a microscope` } ] : []), ...(this.isElectron && !this.liteMode }, ...(this.isElectron ? [ { target: "#nearby-connections-grid", Loading @@ -117,17 +113,14 @@ export default { } ] : []), ...(!this.liteMode ? [ { target: "#saved-connections-grid", header: { title: "Saved microscopes" }, content: `Connect to your saved microscopes for faster access` } ] : []), }, { target: "#gallery-tab-icon", header: { Loading Loading @@ -168,9 +161,6 @@ export default { }, mounted() { if (process.env.VUE_APP_LITEMODE == "true") { console.log("Built lite-mode"); } // Query CSS dark theme preference var mql = window.matchMedia("(prefers-color-scheme: dark)"); // Check for system dark theme when mounted Loading