nw 0.98.0-sdk → 0.98.0-sdk-sdk

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/LICENSE CHANGED
@@ -1,11 +1,11 @@
1
- Copyright (c) 2011-2019 NW.js Authors
1
+ Copyright (c) 2011-2025 NW.js Authors
2
2
  Copyright (c) 2011-2019 The Chromium Authors
3
3
  Copyright (c) 2011-2018 Intel Corp
4
4
 
5
- Permission is hereby granted, free of charge, to any person obtaining a copy of
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy of
6
6
  this software and associated documentation files (the "Software"), to deal in
7
- the Software without restriction, including without limitation the rights to use,
8
- copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the
7
+ the Software without restriction, including without limitation the rights to use,
8
+ copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the
9
9
  Software, and to permit persons to whom the Software is furnished to do so,
10
10
  subject to the following conditions:
11
11
 
@@ -13,8 +13,8 @@ The above copyright notice and this permission notice shall be included in all
13
13
  copies or substantial portions of the Software.
14
14
 
15
15
  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
16
- INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR
16
+ INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR
17
17
  A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
18
- HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
18
+ HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
19
19
  ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH
20
20
  THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nw",
3
- "version": "0.98.0-sdk",
3
+ "version": "0.98.0-sdk-sdk",
4
4
  "description": "An installer for NW.js",
5
5
  "repository": {
6
6
  "type": "git",
@@ -54,4 +54,4 @@
54
54
  "selenium-webdriver": "^4.30.0",
55
55
  "vitest": "^3.0.4"
56
56
  }
57
- }
57
+ }
@@ -1,4 +1,3 @@
1
- import child_process from 'node:child_process';
2
1
  import fs from 'node:fs';
3
2
  import process from 'node:process';
4
3
  import path from 'node:path';
@@ -9,14 +8,6 @@ import semver from 'semver';
9
8
  import get from './get.js';
10
9
  import util from './util.js';
11
10
 
12
- const __dirname = path.dirname(url.fileURLToPath(import.meta.url));
13
-
14
- const patchPackagePath = path.resolve(path.join(__dirname, '..', 'node_modules', 'patch-package'));
15
-
16
- if (fs.existsSync(patchPackagePath)) {
17
- child_process.execSync('node ' + patchPackagePath);
18
- }
19
-
20
11
  await postinstall()
21
12
  .catch((error) => {
22
13
  if (error.code === 'EPERM') {