We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aeeda0f commit b218cf4Copy full SHA for b218cf4
scripts/pack.js
@@ -11,7 +11,7 @@ fs.writeFileSync("./build/scriptcat/manifest.json", str);
11
12
// 处理config.ts version
13
str = fs.readFileSync("./src/apps/config.ts").toString();
14
-str = str.replace(/ExtVersion = "(.*?)";/, 'ExtVersion = "' + pjson.version + '";');
+str = str.replace(/ExtVersion = '(.*?)';/, 'ExtVersion = "' + pjson.version + '";');
15
fs.writeFileSync("./src/apps/config.ts", str);
16
17
execSync("npm run build", { stdio: 'inherit' });
src/apps/config.ts
@@ -1,4 +1,4 @@
1
-export const ExtVersion = '0.8.0';
+export const ExtVersion = "0.8.1";
2
3
export const Server = process.env.NODE_ENV == 'production' ? 'https://sc.icodef.com/' : 'http://localhost:8080/';
4
0 commit comments