4 Commits
2 changed files with 8 additions and 4 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "vynte-connect",
"productName": "Vynte Connect",
"version": "1.0.0-rc.2",
"version": "1.0.0",
"description": "VPN used to access internal Vynte services",
"main": ".vite/build/main.js",
"private": true,
+7 -3
View File
@@ -45,11 +45,15 @@ app.on('window-all-closed', () => {
});
app.on('activate', () => {
// On OS X it's common to re-create a window in the app when the
// dock icon is clicked and there are no other windows open.
if (BrowserWindow.getAllWindows().length === 0) {
if (!window || window.isDestroyed()) {
createWindow();
}
if (!tray) {
createTray();
}
showWindow();
});
// In this file you can include the rest of your app's specific main process