config.COPYRIGHT
This commit is contained in:
@@ -93,9 +93,8 @@ var win32 = {
|
|||||||
// Company that produced the file.
|
// Company that produced the file.
|
||||||
CompanyName: config.APP_NAME,
|
CompanyName: config.APP_NAME,
|
||||||
|
|
||||||
// Copyright notices that apply to the file. This should include the full text of all
|
// Copyright notices that apply to the file.
|
||||||
// notices, legal symbols, copyright dates, and so on.
|
LegalCopyright: config.COPYRIGHT,
|
||||||
LegalCopyright: fs.readFileSync(path.join(__dirname, '..', 'LICENSE'), 'utf8'),
|
|
||||||
|
|
||||||
// Name of the program, displayed to users
|
// Name of the program, displayed to users
|
||||||
FileDescription: config.APP_NAME,
|
FileDescription: config.APP_NAME,
|
||||||
@@ -176,7 +175,7 @@ function buildDarwin (cb) {
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
||||||
infoPlist.NSHumanReadableCopyright = 'Copyright © 2014-2016 The WebTorrent Project'
|
infoPlist.NSHumanReadableCopyright = config.COPYRIGHT
|
||||||
|
|
||||||
fs.writeFileSync(infoPlistPath, plist.build(infoPlist))
|
fs.writeFileSync(infoPlistPath, plist.build(infoPlist))
|
||||||
cp.execSync(`cp ${webTorrentFileIconPath} ${resourcesPath}`)
|
cp.execSync(`cp ${webTorrentFileIconPath} ${resourcesPath}`)
|
||||||
|
|||||||
@@ -9,6 +9,8 @@ module.exports = {
|
|||||||
CONFIG_POSTER_PATH: path.join(applicationConfigPath('WebTorrent'), 'Posters'),
|
CONFIG_POSTER_PATH: path.join(applicationConfigPath('WebTorrent'), 'Posters'),
|
||||||
CONFIG_TORRENT_PATH: path.join(applicationConfigPath('WebTorrent'), 'Torrents'),
|
CONFIG_TORRENT_PATH: path.join(applicationConfigPath('WebTorrent'), 'Torrents'),
|
||||||
|
|
||||||
|
COPYRIGHT: 'Copyright © 2014-2016 The WebTorrent Project',
|
||||||
|
|
||||||
INDEX: 'file://' + path.join(__dirname, 'renderer', 'index.html'),
|
INDEX: 'file://' + path.join(__dirname, 'renderer', 'index.html'),
|
||||||
|
|
||||||
IS_PRODUCTION: isProduction(),
|
IS_PRODUCTION: isProduction(),
|
||||||
|
|||||||
Reference in New Issue
Block a user