jiachenlong/frontend/fix_version.js

7 lines
204 B
JavaScript
Raw Normal View History

2026-04-23 23:26:00 +08:00
const fs = require('fs');
const htmlPath = './index.html';
let html = fs.readFileSync(htmlPath, 'utf-8');
html = html.replace('v=0.0.3', 'v=0.0.4');
fs.writeFileSync(htmlPath, html);
console.log('Done');