mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-01 13:14:16 +08:00
refactor(code): change atom to nylas in clean script
This commit is contained in:
parent
fc8b1bae3d
commit
543e3ba6ee
1 changed files with 4 additions and 4 deletions
|
@ -12,10 +12,10 @@ var home = process.env[(process.platform === 'win32') ? 'USERPROFILE' : 'HOME'];
|
|||
var tmpdir = os.tmpdir();
|
||||
|
||||
// Windows: Use START as a way to ignore error if nylas.exe isnt running
|
||||
var killatom = process.platform === 'win32' ? 'START taskkill /F /IM ' + productName + '.exe' : 'pkill -9 ' + productName + ' || true';
|
||||
var killnylas = process.platform === 'win32' ? 'START taskkill /F /IM ' + productName + '.exe' : 'pkill -9 ' + productName + ' || true';
|
||||
|
||||
var commands = [
|
||||
killatom,
|
||||
killnylas,
|
||||
[__dirname, '..', 'node_modules'],
|
||||
[__dirname, '..', 'build', 'node_modules'],
|
||||
[__dirname, '..', 'apm', 'node_modules'],
|
||||
|
@ -25,8 +25,8 @@ var commands = [
|
|||
[home, '.nylas', '.npm'],
|
||||
[home, '.nylas', 'compile-cache'],
|
||||
[home, '.nylas', 'electron'],
|
||||
[tmpdir, 'atom-build'],
|
||||
[tmpdir, 'atom-cached-electrons'],
|
||||
[tmpdir, 'nylas-build'],
|
||||
[tmpdir, 'nylas-cached-electrons'],
|
||||
];
|
||||
var run = function() {
|
||||
var next = commands.shift();
|
||||
|
|
Loading…
Reference in a new issue