ee-bin 4.1.8 → 4.1.9

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/tools/serve.js +2 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ee-bin",
3
- "version": "4.1.8",
3
+ "version": "4.1.9",
4
4
  "description": "ee bin",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/tools/serve.js CHANGED
@@ -322,8 +322,9 @@ class ServeProcess {
322
322
  pkg.main =this.electronDir + '/' + mainFile;
323
323
  writeJsonSync(pkgPath, pkg);
324
324
  } else {
325
+ // only load main.js file
325
326
  // const bundleMainPath = path.join(this.bundleDir, 'main.js');
326
- const bundleMainPath = this.bundleDir + '/' + mainFile;
327
+ const bundleMainPath = this.bundleDir + '/' + 'main.js';
327
328
 
328
329
  // Modify when the path is incorrect to reduce unnecessary operations
329
330
  if (pkg.main != bundleMainPath) {