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/commonjs/unpack.js
generated
vendored
4
electron/node_modules/tar/dist/commonjs/unpack.js
generated
vendored
|
|
@ -185,7 +185,7 @@ class Unpack extends parse_js_1.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 ?
|
||||
|
|
@ -406,7 +406,7 @@ class Unpack extends parse_js_1.Parser {
|
|||
}
|
||||
}
|
||||
[MKDIR](dir, mode, cb) {
|
||||
(0, mkdir_js_1.mkdir)((0, normalize_windows_path_js_1.normalizeWindowsPath)(dir), {
|
||||
void (0, mkdir_js_1.mkdir)((0, normalize_windows_path_js_1.normalizeWindowsPath)(dir), {
|
||||
uid: this.uid,
|
||||
gid: this.gid,
|
||||
processUid: this.processUid,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue