Windows packager: use Github URL for remoteRelease
This commit is contained in:
@@ -269,7 +269,7 @@ function buildWin32 (cb) {
|
||||
exe: config.APP_NAME + '.exe',
|
||||
iconUrl: config.APP_ICON + '.ico',
|
||||
loadingGif: path.join(config.STATIC_PATH, 'loading.gif'),
|
||||
remoteReleases: config.AUTO_UPDATE_URL,
|
||||
remoteReleases: config.GITHUB_URL,
|
||||
name: config.APP_NAME,
|
||||
noMsi: true,
|
||||
outputDirectory: path.join(config.ROOT_PATH, 'dist'),
|
||||
|
||||
@@ -21,6 +21,8 @@ module.exports = {
|
||||
CONFIG_POSTER_PATH: path.join(applicationConfigPath(APP_NAME), 'Posters'),
|
||||
CONFIG_TORRENT_PATH: path.join(applicationConfigPath(APP_NAME), 'Torrents'),
|
||||
|
||||
GITHUB_URL: 'https://github.com/feross/webtorrent-desktop',
|
||||
|
||||
IS_PRODUCTION: isProduction(),
|
||||
|
||||
ROOT_PATH: __dirname,
|
||||
|
||||
@@ -288,14 +288,14 @@ function getAppMenuTemplate () {
|
||||
},
|
||||
{
|
||||
label: 'Contribute on GitHub',
|
||||
click: () => electron.shell.openExternal('https://github.com/feross/webtorrent-desktop')
|
||||
click: () => electron.shell.openExternal(config.GITHUB_URL)
|
||||
},
|
||||
{
|
||||
type: 'separator'
|
||||
},
|
||||
{
|
||||
label: 'Report an Issue...',
|
||||
click: () => electron.shell.openExternal('https://github.com/feross/webtorrent-desktop/issues')
|
||||
click: () => electron.shell.openExternal(config.GITHUB_URL + '/issues')
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user