avoid copy update.js and fix dist dir

This commit is contained in:
Megrez Lu
2023-01-29 14:05:36 +08:00
parent 6fd8e8d4cb
commit 71fc287e56
2 changed files with 36 additions and 37 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
const fs = require('fs');
var packagejson = require('./packages/open-lens/package.json');
var packagejson = require('./lens/packages/open-lens/package.json');
packagejson.build.publish = [{
url: "https://github.com/MuhammedKalkan/OpenLens/releases/download/Latest",
@@ -9,4 +9,4 @@ packagejson.build.publish = [{
packagejson.build.win.artifactName = "OpenLens.Setup.${version}.${ext}";
fs.writeFileSync('./packages/open-lens/package.json', JSON.stringify(packagejson));
fs.writeFileSync('./lens/packages/open-lens/package.json', JSON.stringify(packagejson));