Skip to content

Commit

Permalink
Link 'about' to github page
Browse files Browse the repository at this point in the history
  • Loading branch information
ClumsyLee committed Oct 10, 2015
1 parent a62080f commit 2dafee7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ var app = require('app');
var Menu = require('menu');
var Tray = require('tray');
var BrowserWindow = require('browser-window');
var shell = require('shell');

var checkForUpdates = function () {};

Expand Down Expand Up @@ -159,7 +160,9 @@ function get_menu_template() {

// About.
{type: 'separator'},
{label: '关于 ' + app.getName(), role: 'about'},
{label: '关于 ' + app.getName(), click: function () {
shell.openExternal('https://github.com/ThomasLee969/net.tsinghua');
}},

// Quit.
{type: 'separator'},
Expand Down

0 comments on commit 2dafee7

Please sign in to comment.