1.1.3
This commit is contained in:
@@ -52,7 +52,13 @@ const electronPlatform = {
|
||||
minimize: () => window.windowControls.minimize(),
|
||||
maximize: () => window.windowControls.maximize(),
|
||||
close: () => window.windowControls.close(),
|
||||
flashFrame: () => window.windowControls.flashFrame(),
|
||||
flashFrame: (on) => window.windowControls.flashFrame(on),
|
||||
},
|
||||
notifications: {
|
||||
show: (opts) => window.notificationAPI.show(opts),
|
||||
setBadge: (count) => window.notificationAPI.setBadge(count),
|
||||
flashFrame: (on) => window.notificationAPI.flashFrame(on),
|
||||
ensurePermission: async () => 'granted',
|
||||
},
|
||||
recording: {
|
||||
getDefaultFolder: () => window.recordingAPI.getDefaultFolder(),
|
||||
@@ -70,6 +76,9 @@ const electronPlatform = {
|
||||
},
|
||||
updates: {
|
||||
checkUpdate: () => window.updateAPI.checkFlatpakUpdate(),
|
||||
getStatus: () => window.updateAPI.getStatus(),
|
||||
downloadAndInstall: () => window.updateAPI.downloadAndInstall(),
|
||||
onStatusChanged: (cb) => window.updateAPI.onStatusChanged(cb),
|
||||
},
|
||||
systemBars: null,
|
||||
searchDB,
|
||||
@@ -80,6 +89,7 @@ const electronPlatform = {
|
||||
hasSearch: true,
|
||||
hasSystemBars: false,
|
||||
hasRecording: true,
|
||||
hasNotifications: true,
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user