OS X: Name update file with "-darwin.zip"

This commit is contained in:
Feross Aboukhadijeh
2016-04-04 17:58:59 -07:00
parent 30631fb879
commit 5d2b5c1c81

View File

@@ -211,7 +211,7 @@ function buildDarwin (cb) {
if (err) return cb(err)
// Create .zip file (used by the auto-updater)
var zipPath = path.join(config.ROOT_PATH, 'dist', BUILD_NAME + '.zip')
var zipPath = path.join(config.ROOT_PATH, 'dist', BUILD_NAME + '-darwin.zip')
cp.execSync(`cd ${buildPath[0]} && zip -r -y ${zipPath} ${config.APP_NAME + '.app'}`)
console.log('Created OS X .zip file.')