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