From 5fff1f2d3e2e3b58b0ff304a035c2197dcf01844 Mon Sep 17 00:00:00 2001 From: Lipis Date: Sat, 29 Feb 2020 16:23:09 +0100 Subject: [PATCH] Rename the packaged asar file (#857) --- scripts/build-version.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/build-version.js b/scripts/build-version.js index ce3404d7..7ed135cb 100755 --- a/scripts/build-version.js +++ b/scripts/build-version.js @@ -20,7 +20,7 @@ const now = new Date(); const data = JSON.stringify( { - app: `excalidraw-${versionDate(now)}.asar`, + asar: `excalidraw.asar`, version: versionDate(now), }, undefined, @@ -31,7 +31,7 @@ fs.writeFileSync(path.join("build", "version.json"), data); (async () => { const src = "build/"; - const dest = path.join("build", `excalidraw-${versionDate(now)}.asar`); + const dest = path.join("build", `excalidraw.asar`); await asar.createPackage(src, dest); })();