Windows: Add valid iconUrl – for building on non-Windows platforms
This commit is contained in:
@@ -267,7 +267,7 @@ function buildWin32 (cb) {
|
|||||||
// certificateFile: '', // TODO
|
// certificateFile: '', // TODO
|
||||||
description: config.APP_NAME,
|
description: config.APP_NAME,
|
||||||
exe: config.APP_NAME + '.exe',
|
exe: config.APP_NAME + '.exe',
|
||||||
iconUrl: config.APP_ICON + '.ico',
|
iconUrl: config.GITHUB_URL_RAW + '/static/' + config.APP_ICON + '.ico',
|
||||||
loadingGif: path.join(config.STATIC_PATH, 'loading.gif'),
|
loadingGif: path.join(config.STATIC_PATH, 'loading.gif'),
|
||||||
remoteReleases: config.GITHUB_URL,
|
remoteReleases: config.GITHUB_URL,
|
||||||
name: config.APP_NAME,
|
name: config.APP_NAME,
|
||||||
|
|||||||
@@ -22,6 +22,7 @@ module.exports = {
|
|||||||
CONFIG_TORRENT_PATH: path.join(applicationConfigPath(APP_NAME), 'Torrents'),
|
CONFIG_TORRENT_PATH: path.join(applicationConfigPath(APP_NAME), 'Torrents'),
|
||||||
|
|
||||||
GITHUB_URL: 'https://github.com/feross/webtorrent-desktop',
|
GITHUB_URL: 'https://github.com/feross/webtorrent-desktop',
|
||||||
|
GITHUB_URL_RAW: 'https://raw.githubusercontent.com/feross/webtorrent-desktop/master',
|
||||||
|
|
||||||
IS_PRODUCTION: isProduction(),
|
IS_PRODUCTION: isProduction(),
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user