diff options
author | 2019-04-12 17:18:19 +0200 | |
---|---|---|
committer | 2019-04-12 17:18:19 +0200 | |
commit | 9620db3443c70d6f92b55725ed07a17adda8cea4 (patch) | |
tree | 2819bbbfedbd9842a1a7fd8249d123224445139f /src/stores | |
parent | cleanup console log artifacts (diff) | |
download | ferdium-app-9620db3443c70d6f92b55725ed07a17adda8cea4.tar.gz ferdium-app-9620db3443c70d6f92b55725ed07a17adda8cea4.tar.zst ferdium-app-9620db3443c70d6f92b55725ed07a17adda8cea4.zip |
link to in-app changelog on new update notification
Diffstat (limited to 'src/stores')
-rw-r--r-- | src/stores/AppStore.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/stores/AppStore.js b/src/stores/AppStore.js index ca0c9175b..e68e797ef 100644 --- a/src/stores/AppStore.js +++ b/src/stores/AppStore.js | |||
@@ -67,6 +67,8 @@ export default class AppStore extends Store { | |||
67 | 67 | ||
68 | @observable isFocused = true; | 68 | @observable isFocused = true; |
69 | 69 | ||
70 | @observable nextAppReleaseVersion = null; | ||
71 | |||
70 | dictionaries = []; | 72 | dictionaries = []; |
71 | 73 | ||
72 | constructor(...args) { | 74 | constructor(...args) { |
@@ -123,7 +125,7 @@ export default class AppStore extends Store { | |||
123 | ipcRenderer.on('autoUpdate', (event, data) => { | 125 | ipcRenderer.on('autoUpdate', (event, data) => { |
124 | if (data.available) { | 126 | if (data.available) { |
125 | this.updateStatus = this.updateStatusTypes.AVAILABLE; | 127 | this.updateStatus = this.updateStatusTypes.AVAILABLE; |
126 | 128 | this.nextAppReleaseVersion = data.version; | |
127 | if (isMac) { | 129 | if (isMac) { |
128 | app.dock.bounce(); | 130 | app.dock.bounce(); |
129 | } | 131 | } |