Add Auto Updater

This commit is contained in:
Muhammed Kalkan
2022-06-07 10:16:28 +03:00
parent c96d8cc836
commit ea74065446
6 changed files with 70 additions and 13 deletions
+11
View File
@@ -0,0 +1,11 @@
const fs = require('fs');
var packagejson = require('./package.json');
packagejson.build.publish = {
url: "https://github.com/MuhammedKalkan/OpenLens/releases/download/latest",
provider: "generic",
channel: "latest"
}
fs.writeFileSync('package.json', JSON.stringify(packagejson));