This commit is contained in:
Manav Rathi
2024-07-18 15:49:11 +05:30
parent cc0dea5c34
commit 1b039de35d

View File

@@ -72,7 +72,8 @@ const isDesktop = process.env._ENTE_IS_DESKTOP ? "1" : "";
* > The web app has continuous deployments, and doesn't have versions.
*/
const desktopAppVersion = isDesktop
? JSON.parse(fs.readFileSync("../../desktop/package.json", "utf-8")).version
? JSON.parse(fs.readFileSync("../../../desktop/package.json", "utf-8"))
.version
: undefined;
/**