Emmm Monster
3 years ago
No known key found for this signature in database
GPG Key ID: C98279C83FB50DB9
1 changed files with
4 additions and
1 deletions
-
make-extension.js
|
@ -15,6 +15,9 @@ const manifest = JSON.parse(manifestRaw) |
|
|
const pkgRaw = fs.readFileSync("./package.json", "utf-8") |
|
|
const pkgRaw = fs.readFileSync("./package.json", "utf-8") |
|
|
const pkg = JSON.parse(pkgRaw) |
|
|
const pkg = JSON.parse(pkgRaw) |
|
|
|
|
|
|
|
|
manifest["version"] = pkg["version"] |
|
|
ver_str = pkg["version"] |
|
|
|
|
|
if (ver_str.startsWith("v")) ver_str = ver_str.slice(1) |
|
|
|
|
|
manifest["version"] = ver_str |
|
|
|
|
|
|
|
|
fs.writeFileSync("./dist/manifest.json", JSON.stringify(manifest), "utf-8") |
|
|
fs.writeFileSync("./dist/manifest.json", JSON.stringify(manifest), "utf-8") |
|
|
console.log("Write: manifest.json") |
|
|
console.log("Write: manifest.json") |
|
|