TagSpaces is an offline, open source, document manager with tagging support
chore: generate always version.json
Ilian Sapundshiev2a49d2056040
diff --git a/.gitignore b/.gitignoreindex 5b0ef8509..bd96b8e13 100644--- a/.gitignore+++ b/.gitignore@@ -125,3 +125,4 @@ playwright-report/*deploy.shdocker/*.zip+app/version.json\ No newline at end of filediff --git a/.prettierignore b/.prettierignoreindex ea6ebda97..6008c0ed7 100755--- a/.prettierignore+++ b/.prettierignore@@ -46,3 +46,4 @@ tests/binsrc/renderer/aws-exports.jssrc/renderer/config/config.jsonsrc/renderer/extension-config.ts+app/version.jsondiff --git a/src/main/util.ts b/src/main/util.tsindex 80eb13bc5..4f10af6e7 100644--- a/src/main/util.ts+++ b/src/main/util.ts@@ -21,14 +21,7 @@ export function resolveHtmlPath(htmlFileName: string) {*/export function checkVersionJson() {const version = path.resolve(webpackPaths.srcRendererPath, 'version.json');- if (!fs.existsSync(version)) {- console.log(- chalk.black.bgYellow.bold(- 'The version.json files are missing. Sit back while we build them for you with "npm run version-meta"',- ),- );- execSync('npm run version-meta');- }+ execSync('npm run version-meta');}/**