fix(desktop): use top level package json for versioning
This commit is contained in:
@@ -4,7 +4,6 @@
|
||||
"private": true,
|
||||
"description": "An end-to-end encrypted notes app for digitalists and professionals.",
|
||||
"author": "Standard Notes <help@standardnotes.com>",
|
||||
"version": "3.22.5",
|
||||
"main": "./dist/index.js",
|
||||
"installConfig": {
|
||||
"selfReferences": true
|
||||
|
||||
@@ -31,7 +31,7 @@ async function getBlockMapInfo(fileName) {
|
||||
|
||||
;(async () => {
|
||||
try {
|
||||
const { version } = JSON.parse(await fs.promises.readFile('app/package.json'))
|
||||
const { version } = JSON.parse(await fs.promises.readFile('package.json'))
|
||||
const zipName = `standard-notes-${version}-mac-x64.zip`
|
||||
const zipPath = `dist/${zipName}`
|
||||
console.log(`Removing ${zipPath}`)
|
||||
|
||||
Reference in New Issue
Block a user