Brycord v1.0.36
All checks were successful
Build and Release / build-and-release (push) Successful in 14m34s
All checks were successful
Build and Release / build-and-release (push) Successful in 14m34s
This commit is contained in:
@@ -188,6 +188,9 @@ app.whenReady().then(async () => {
|
||||
const win = BrowserWindow.getFocusedWindow();
|
||||
if (win) win.close();
|
||||
});
|
||||
ipcMain.on('flash-frame', () => {
|
||||
if (mainWindow && !mainWindow.isDestroyed()) mainWindow.flashFrame(true);
|
||||
});
|
||||
|
||||
// Helper to fetch metadata (Zero-Knowledge: Client fetches previews)
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@discord-clone/electron",
|
||||
"private": true,
|
||||
"version": "1.0.35",
|
||||
"version": "1.0.36",
|
||||
"description": "Brycord - Electron app",
|
||||
"author": "Moyettes",
|
||||
"type": "module",
|
||||
@@ -37,8 +37,7 @@
|
||||
}
|
||||
],
|
||||
"win": {
|
||||
"target": ["nsis"],
|
||||
"signAndEditExecutable": false
|
||||
"target": ["nsis"]
|
||||
},
|
||||
"mac": {
|
||||
"target": ["dmg", "zip"],
|
||||
|
||||
@@ -25,6 +25,7 @@ contextBridge.exposeInMainWorld('windowControls', {
|
||||
minimize: () => ipcRenderer.send('window-minimize'),
|
||||
maximize: () => ipcRenderer.send('window-maximize'),
|
||||
close: () => ipcRenderer.send('window-close'),
|
||||
flashFrame: () => ipcRenderer.send('flash-frame'),
|
||||
});
|
||||
|
||||
contextBridge.exposeInMainWorld('appSettings', {
|
||||
|
||||
@@ -52,6 +52,7 @@ const electronPlatform = {
|
||||
minimize: () => window.windowControls.minimize(),
|
||||
maximize: () => window.windowControls.maximize(),
|
||||
close: () => window.windowControls.close(),
|
||||
flashFrame: () => window.windowControls.flashFrame(),
|
||||
},
|
||||
updates: {
|
||||
checkUpdate: () => window.updateAPI.checkFlatpakUpdate(),
|
||||
|
||||
Reference in New Issue
Block a user