aboutsummaryrefslogtreecommitdiffstats
path: root/src/stores
diff options
context:
space:
mode:
authorLibravatar Vijay A <avijayr@protonmail.com>2021-07-18 13:51:51 +0530
committerLibravatar Vijay A <avijayr@protonmail.com>2021-07-18 13:51:51 +0530
commit4fc60686403d380c8f3d93a9dd98b9f7d6b9d6de (patch)
tree35577dc6e4e1ade94c7829f0f449e02644fd9c73 /src/stores
parentFixed issue with error hiding version bump. (diff)
downloadferdium-app-4fc60686403d380c8f3d93a9dd98b9f7d6b9d6de.tar.gz
ferdium-app-4fc60686403d380c8f3d93a9dd98b9f7d6b9d6de.tar.zst
ferdium-app-4fc60686403d380c8f3d93a9dd98b9f7d6b9d6de.zip
Added debug logs for auto-updater. [skip ci]
Diffstat (limited to 'src/stores')
-rw-r--r--src/stores/AppStore.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/stores/AppStore.js b/src/stores/AppStore.js
index ac6ca6d2d..bbb5e6305 100644
--- a/src/stores/AppStore.js
+++ b/src/stores/AppStore.js
@@ -180,7 +180,7 @@ export default class AppStore extends Store {
180 } 180 }
181 }); 181 });
182 182
183 // Handle deep linking (franz://) 183 // Handle deep linking (ferdi://)
184 ipcRenderer.on('navigateFromDeepLink', (event, data) => { 184 ipcRenderer.on('navigateFromDeepLink', (event, data) => {
185 debug('Navigate from deep link', data); 185 debug('Navigate from deep link', data);
186 let { 186 let {
@@ -389,6 +389,7 @@ export default class AppStore extends Store {
389 389
390 @action _checkForUpdates() { 390 @action _checkForUpdates() {
391 if (this.isOnline) { 391 if (this.isOnline) {
392 debug('_checkForUpdates: sending event to autoUpdate:check');
392 this.updateStatus = this.updateStatusTypes.CHECKING; 393 this.updateStatus = this.updateStatusTypes.CHECKING;
393 ipcRenderer.send('autoUpdate', { 394 ipcRenderer.send('autoUpdate', {
394 action: 'check', 395 action: 'check',
@@ -399,6 +400,7 @@ export default class AppStore extends Store {
399 } 400 }
400 401
401 @action _installUpdate() { 402 @action _installUpdate() {
403 debug('_installUpdate: sending event to autoUpdate:install');
402 ipcRenderer.send('autoUpdate', { 404 ipcRenderer.send('autoUpdate', {
403 action: 'install', 405 action: 'install',
404 }); 406 });