electron-incremental-update 1.0.1 → 1.0.2

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/dist/vite.js CHANGED
@@ -403,7 +403,7 @@ function electronWithUpdater(options) {
403
403
  isInit = true;
404
404
  await _buildEntry();
405
405
  }
406
- _main.onstart?.(args) ?? args.startup();
406
+ _main.onstart ? _main.onstart(args) : args.startup();
407
407
  },
408
408
  vite: (0, import_vite.mergeConfig)(
409
409
  {
package/dist/vite.mjs CHANGED
@@ -309,7 +309,7 @@ function electronWithUpdater(options) {
309
309
  isInit = true;
310
310
  await _buildEntry();
311
311
  }
312
- _main.onstart?.(args) ?? args.startup();
312
+ _main.onstart ? _main.onstart(args) : args.startup();
313
313
  },
314
314
  vite: mergeConfig(
315
315
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "electron-incremental-update",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "electron incremental update tools, powered by vite",
5
5
  "author": "subframe7536",
6
6
  "license": "MIT",
@@ -49,21 +49,21 @@
49
49
  "vite-plugin-electron": "^0.15.6 || ^0.28"
50
50
  },
51
51
  "dependencies": {
52
- "@electron/asar": "^3.2.8",
53
- "@subframe7536/type-utils": "^0.1.4",
52
+ "@electron/asar": "^3.2.9",
53
+ "@subframe7536/type-utils": "^0.1.6",
54
54
  "selfsigned": "^2.4.1"
55
55
  },
56
56
  "devDependencies": {
57
- "@subframe7536/eslint-config": "^0.5.9",
58
- "@types/node": "^20.11.5",
59
- "bumpp": "^9.3.0",
57
+ "@subframe7536/eslint-config": "^0.6.0",
58
+ "@types/node": "^20.12.5",
59
+ "bumpp": "^9.4.0",
60
60
  "electron": "28.1.1",
61
- "eslint": "^8.56.0",
62
- "tsup": "^8.0.1",
63
- "typescript": "^5.3.3",
64
- "vite": "^5.0.12",
65
- "vite-plugin-electron": "^0.15.6",
66
- "vitest": "^1.2.1"
61
+ "eslint": "^8.57.0",
62
+ "tsup": "^8.0.2",
63
+ "typescript": "^5.4.4",
64
+ "vite": "^5.2.8",
65
+ "vite-plugin-electron": "^0.28.4",
66
+ "vitest": "^1.4.0"
67
67
  },
68
68
  "pnpm": {
69
69
  "overrides": {