fix(desktop): use top level package json for versioning

This commit is contained in:
Mo
2022-06-17 11:10:42 -05:00
parent daa72cb253
commit 93e97013c1
5 changed files with 22 additions and 15 deletions

View File

@@ -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}`)