Update update.js

This commit is contained in:
Muhammed Kalkan 2023-05-26 21:38:49 +03:00 committed by GitHub
parent 8a2ff66739
commit de52306024
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
const fs = require('fs');
var packagejson = require('./lens/packages/open-lens/package.json');
var packagejson = require('./lens/open-lens/package.json');
packagejson.build.publish = [{
url: "https://github.com/MuhammedKalkan/OpenLens/releases/download/Latest",
@ -14,7 +14,7 @@ if (process.platform != "win32") {
packagejson.scripts['build:app'] = "electron-builder --publish onTag --x64 --arm64";
}
fs.writeFileSync('./lens/packages/open-lens/package.json', JSON.stringify(packagejson));
fs.writeFileSync('./lens/open-lens/package.json', JSON.stringify(packagejson));
let npmrc = fs.readFileSync('./lens/.npmrc','utf-8');