Windows packager: use Github URL for remoteRelease
This commit is contained in:
parent
3d8429fb12
commit
82c9e8f8ab
3 changed files with 5 additions and 3 deletions
|
|
@ -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')
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue