forked from olcxjas-softworks/LarpixClient
update electron to v43
This commit is contained in:
parent
68ac0beedf
commit
fb6c8b6ee9
5385 changed files with 513060 additions and 123058 deletions
4
electron/node_modules/tar/dist/esm/unpack.js
generated
vendored
4
electron/node_modules/tar/dist/esm/unpack.js
generated
vendored
|
|
@ -146,7 +146,7 @@ export class Unpack extends Parser {
|
|||
// default true for root
|
||||
this.preserveOwner =
|
||||
opt.preserveOwner === undefined && typeof opt.uid !== 'number' ?
|
||||
!!(process.getuid && process.getuid() === 0)
|
||||
!!(process.getuid?.() === 0)
|
||||
: !!opt.preserveOwner;
|
||||
this.processUid =
|
||||
(this.preserveOwner || this.setOwner) && process.getuid ?
|
||||
|
|
@ -367,7 +367,7 @@ export class Unpack extends Parser {
|
|||
}
|
||||
}
|
||||
[MKDIR](dir, mode, cb) {
|
||||
mkdir(normalizeWindowsPath(dir), {
|
||||
void mkdir(normalizeWindowsPath(dir), {
|
||||
uid: this.uid,
|
||||
gid: this.gid,
|
||||
processUid: this.processUid,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue