electron-incremental-update 0.1.4 → 0.1.5

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.cjs CHANGED
@@ -84,10 +84,10 @@ async function buildAsar({
84
84
  await (0, import_promises.rename)(rendererDistPath, `${electronDistPath}/renderer`);
85
85
  await (0, import_promises.writeFile)(`${electronDistPath}/version`, version);
86
86
  await pack(electronDistPath, asarOutputPath);
87
+ await gzipFile(asarOutputPath);
87
88
  if (import_ci_info.isCI) {
88
89
  return;
89
90
  }
90
- await gzipFile(asarOutputPath);
91
91
  const buffer = await (0, import_promises.readFile)(`${asarOutputPath}.gz`);
92
92
  const signature = generateSignature(buffer, await (0, import_promises.readFile)(privateKeyPath, "utf-8"));
93
93
  await (0, import_promises.writeFile)(versionPath, JSON.stringify({
package/dist/vite.mjs CHANGED
@@ -52,10 +52,10 @@ async function buildAsar({
52
52
  await rename(rendererDistPath, `${electronDistPath}/renderer`);
53
53
  await writeFile(`${electronDistPath}/version`, version);
54
54
  await pack(electronDistPath, asarOutputPath);
55
+ await gzipFile(asarOutputPath);
55
56
  if (isCI) {
56
57
  return;
57
58
  }
58
- await gzipFile(asarOutputPath);
59
59
  const buffer = await readFile(`${asarOutputPath}.gz`);
60
60
  const signature = generateSignature(buffer, await readFile(privateKeyPath, "utf-8"));
61
61
  await writeFile(versionPath, JSON.stringify({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "electron-incremental-update",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "description": "electron incremental update tools, powered by vite",
5
5
  "scripts": {
6
6
  "build": "tsup",