mirror of
https://github.com/bitwarden/browser.git
synced 2025-01-22 21:21:35 +01:00
chmod mode is string
This commit is contained in:
parent
b12783910a
commit
07f927b2a9
@ -65,7 +65,7 @@ export class UpdateCommand {
|
||||
const currentDir = this.inPkg ? path.dirname(process.execPath) : __dirname;
|
||||
zip.extractAllTo(currentDir, true);
|
||||
if (process.platform !== 'win32') {
|
||||
fs.chmodSync(path.join(currentDir, 'bw'), 764);
|
||||
fs.chmodSync(path.join(currentDir, 'bw'), '764');
|
||||
}
|
||||
res.title = 'Updated self to ' + tagName + '.';
|
||||
if (responseJson.body != null && responseJson.body !== '') {
|
||||
|
Loading…
Reference in New Issue
Block a user