Update main.js

This commit is contained in:
Anirudh Sevugan 2025-09-03 22:42:17 -05:00 committed by GitHub
parent f06f2cc9fc
commit adb0647fdc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -6,7 +6,7 @@ const { pathToFileURL } = require("url");
const { checkForUpdate } = require('./updateChecker');
let gpuAccel = "";
let didRegisterShortcuts = false;
let version = "2.1.1.0"
let version = "2.1.2.0"
if (process.platform === 'darwin') {
if (process.argv.includes('--use-gl')) {
@ -321,6 +321,14 @@ addonsMenu.append(new MenuItem({
}
}));
// "Store" menu item (info dialog version)
addonsMenu.append(new MenuItem({
label: 'Store',
click: () => {
shell.openExternal("https://simpliplay.netlify.app/addons/")
}
}));
// Add the Add-ons menu only once here:
newMenuItems.push(new MenuItem({ label: 'Add-ons', submenu: addonsMenu }));