mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-09-19 23:17:16 +03:00
Use the correct executable name on the code signing tool
This commit is contained in:
parent
3777fdf94b
commit
27e9ab8d32
@ -107,7 +107,7 @@ if (!argv.generateApiDocs) {
|
||||
}
|
||||
|
||||
if (argv.codeSign) {
|
||||
const executablesToSign = [ path.join(packagedAppPath, 'Atom.exe') ]
|
||||
const executablesToSign = [ path.join(packagedAppPath, CONFIG.executableName) ]
|
||||
if (argv.createWindowsInstaller) {
|
||||
executablesToSign.push(path.join(__dirname, 'node_modules', '@atom', 'electron-winstaller', 'vendor', 'Squirrel.exe'))
|
||||
}
|
||||
|
@ -5,9 +5,7 @@ const CONFIG = require('../config.js');
|
||||
module.exports = function() {
|
||||
if (process.platform === 'win32') {
|
||||
// Use START as a way to ignore error if Atom.exe isnt running
|
||||
childProcess.execSync(
|
||||
`START taskkill /F /IM ${CONFIG.appMetadata.productName}.exe`
|
||||
);
|
||||
childProcess.execSync(`START taskkill /F /IM ${CONFIG.executableName}`);
|
||||
} else {
|
||||
childProcess.execSync(`pkill -9 ${CONFIG.appMetadata.productName} || true`);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user