From c17e6f0f6d92265ee2834d4d2688017e5e4bad4a Mon Sep 17 00:00:00 2001 From: Tamius Han Date: Sat, 16 May 2020 20:31:56 +0200 Subject: [PATCH] Discern popup of dev/nightly/testing versions from stable version --- src/ext/conf/BrowserDetect.js | 1 + src/popup/App.vue | 20 +++++++++++++++++++- 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/src/ext/conf/BrowserDetect.js b/src/ext/conf/BrowserDetect.js index d1cad75..1ab3508 100644 --- a/src/ext/conf/BrowserDetect.js +++ b/src/ext/conf/BrowserDetect.js @@ -8,6 +8,7 @@ const BrowserDetect = { chrome: process.env.BROWSER === 'chrome', edge: process.env.BROWSER === 'edge', processEnvBrowser: process.env.BROWSER, + processEnvChannel: process.env.CHANNEL, } if (process.env.CHANNEL !== 'stable') { diff --git a/src/popup/App.vue b/src/popup/App.vue index 7f060ec..228f2e5 100644 --- a/src/popup/App.vue +++ b/src/popup/App.vue @@ -2,8 +2,11 @@