@@ -277,7 +277,7 @@ function buildDarwin (cb) {
|
||||
|
||||
var inPath = path.join(buildPath[0], config.APP_NAME + '.app')
|
||||
var outPath = path.join(DIST_PATH, BUILD_NAME + '-darwin.zip')
|
||||
zip(inPath, outPath)
|
||||
zip.zipSync(inPath, outPath)
|
||||
|
||||
console.log('OS X: Created zip.')
|
||||
}
|
||||
@@ -391,7 +391,7 @@ function buildWin32 (cb) {
|
||||
|
||||
var inPath = path.join(DIST_PATH, path.basename(buildPath[0]))
|
||||
var outPath = path.join(DIST_PATH, BUILD_NAME + '-win.zip')
|
||||
zip(inPath, outPath)
|
||||
zip.zipSync(inPath, outPath)
|
||||
|
||||
console.log('Windows: Created portable app.')
|
||||
cb(null)
|
||||
@@ -455,7 +455,7 @@ function buildLinux (cb) {
|
||||
|
||||
var inPath = path.join(DIST_PATH, path.basename(filesPath))
|
||||
var outPath = path.join(DIST_PATH, BUILD_NAME + '-linux-' + destArch + '.zip')
|
||||
zip(inPath, outPath)
|
||||
zip.zipSync(inPath, outPath)
|
||||
|
||||
console.log(`Linux: Created ${destArch} zip.`)
|
||||
cb(null)
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
"cross-zip": "^2.0.1",
|
||||
"electron-osx-sign": "^0.3.0",
|
||||
"electron-packager": "^7.0.0",
|
||||
"electron-winstaller": "feross/windows-installer#build",
|
||||
"electron-winstaller": "^2.3.0",
|
||||
"gh-release": "^2.0.3",
|
||||
"minimist": "^1.2.0",
|
||||
"nobin-debian-installer": "^0.0.9",
|
||||
|
||||
@@ -90,7 +90,7 @@ function startTorrenting (torrentKey, torrentID, path, fileModtimes) {
|
||||
|
||||
function stopTorrenting (infoHash) {
|
||||
var torrent = client.get(infoHash)
|
||||
torrent.destroy()
|
||||
if (torrent) torrent.destroy()
|
||||
}
|
||||
|
||||
// Create a new torrent, start seeding
|
||||
|
||||
Reference in New Issue
Block a user