Update main.js

This commit is contained in:
Anirudh Sevugan 2025-07-06 19:49:21 -05:00 committed by GitHub
parent b6775636e5
commit c745fa92e0
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.0.0.0"
let version = "2.0.0.1"
if (process.platform === 'darwin') {
if (process.argv.includes('--use-gl')) {
@ -164,6 +164,7 @@ if (appMenu && !appMenu.submenu.items.some(item => item.label === 'Check for Upd
const updateMenuItem = new MenuItem({
label: 'Check for Updates',
accelerator: 'CommandOrControl+Shift+U',
click: () => checkForUpdate(version)
});