File tree Expand file tree Collapse file tree 2 files changed +11
-3
lines changed
Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change 6565 "bugs" : {
6666 "url" : " https://github.com/gitify-app/gitify/issues"
6767 },
68- "homepage" : " https://www. gitify.io/" ,
68+ "homepage" : " https://gitify.io/" ,
6969 "build" : {
7070 "productName" : " Gitify" ,
7171 "appId" : " com.electron.gitify" ,
Original file line number Diff line number Diff line change 1- import { Menu , MenuItem } from 'electron' ;
1+ import { Menu , MenuItem , shell } from 'electron' ;
22import { autoUpdater } from 'electron-updater' ;
33import type { Menubar } from 'menubar' ;
4+
5+ const packageJson = require ( '../../package.json' ) ;
6+
7+ // import { isMacOS, isWindows } from '../renderer/utils/platform';
48import { openLogsDirectory , resetApp , takeScreenshot } from './utils' ;
59
610export default class MenuBuilder {
@@ -18,7 +22,11 @@ export default class MenuBuilder {
1822 label : 'Check for updates' ,
1923 enabled : true ,
2024 click : ( ) => {
21- autoUpdater . checkForUpdatesAndNotify ( ) ;
25+ // if (isMacOS() || isWindows()) {
26+ // autoUpdater.checkForUpdatesAndNotify();
27+ // } else {
28+ shell . openExternal ( packageJson . homepage ) ;
29+ // }
2230 } ,
2331 } ) ;
2432
You can’t perform that action at this time.
0 commit comments