mirror of
https://github.com/dbgate/dbgate
synced 2024-11-07 20:26:23 +00:00
messages
This commit is contained in:
parent
f1ad4e190a
commit
a74f6db1e0
@ -31,11 +31,11 @@ export function initializeAppUpdates() {
|
||||
|
||||
electron.addEventListener('downloaded-new-version', (e, version) => {
|
||||
showSnackbar({
|
||||
message: `New version ${version} downloaded`,
|
||||
message: `New version ${version} downloaded. Update will be installed after app restart.`,
|
||||
allowClose: true,
|
||||
buttons: [
|
||||
{
|
||||
label: 'Restart',
|
||||
label: 'Restart DbGate',
|
||||
onClick: () => {
|
||||
electron.send('applyUpdate');
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user