ee-bin 1.8.0 → 2.0.0-beta.1

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/package.json CHANGED
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "name": "ee-bin",
3
- "version": "1.8.0",
3
+ "version": "2.0.0-beta.1",
4
4
  "description": "ee bin",
5
- "main": "index.js",
5
+ "main": "index.cjs",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"
8
8
  },
9
9
  "author": "",
10
10
  "license": "ISC",
11
11
  "bin": {
12
- "ee-bin": "index.js"
12
+ "ee-bin": "index.cjs"
13
13
  },
14
14
  "dependencies": {
15
15
  "bytenode": "^1.3.6",
package/readme.md ADDED
@@ -0,0 +1 @@
1
+ ## ee-bin
@@ -85,7 +85,7 @@ module.exports = {
85
85
  // 添加 asar 文件
86
86
  zip.addLocalFile(asarFilePath);
87
87
  // 添加 extraResources
88
- if (cfg.extraResources.length > 0) {
88
+ if (cfg.extraResources && cfg.extraResources.length > 0) {
89
89
  for (const extraRes of cfg.extraResources) {
90
90
  const extraResPath = path.normalize(path.join(homeDir, extraRes));
91
91
  if (fs.existsSync(extraResPath)) {
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes