mirror of
https://github.com/A-Star100/simpliplay-desktop.git
synced 2025-09-17 22:29:38 +00:00
Update main.js
This commit is contained in:
parent
b6775636e5
commit
c745fa92e0
@ -6,7 +6,7 @@ const { pathToFileURL } = require("url");
|
|||||||
const { checkForUpdate } = require('./updateChecker');
|
const { checkForUpdate } = require('./updateChecker');
|
||||||
let gpuAccel = "";
|
let gpuAccel = "";
|
||||||
let didRegisterShortcuts = false;
|
let didRegisterShortcuts = false;
|
||||||
let version = "2.0.0.0"
|
let version = "2.0.0.1"
|
||||||
|
|
||||||
if (process.platform === 'darwin') {
|
if (process.platform === 'darwin') {
|
||||||
if (process.argv.includes('--use-gl')) {
|
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({
|
const updateMenuItem = new MenuItem({
|
||||||
label: 'Check for Updates',
|
label: 'Check for Updates',
|
||||||
|
accelerator: 'CommandOrControl+Shift+U',
|
||||||
click: () => checkForUpdate(version)
|
click: () => checkForUpdate(version)
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user