Browse Source

[PCTheme] Escape needed chars

main
Ducko 2 months ago
committed by フズキ
parent
commit
b051fb525e
No known key found for this signature in database GPG Key ID: AD7750AB4625F1DD
  1. 2
      src/preprocessors/pcTheme.js

2
src/preprocessors/pcTheme.js

@ -27,7 +27,7 @@ export default (manifestPath, repo) => {
pcManifest.theme = cssPath;
}
const content = readFileSync(pcManifest.theme, 'utf8');
const content = readFileSync(pcManifest.theme, 'utf8').replace(/\\/g, '\\\\').replace(/`/g, '\\`');
const jsCode = `// Generated by MS2Builder - pcTheme preprocessor / porter
let style;

Loading…
Cancel
Save