mirror of
https://github.com/NovaGM/ModuleBuilder.git
synced 2024-08-15 00:23:33 +00:00
[PCTheme] Escape needed chars
This commit is contained in:
parent
b5e55d0e7d
commit
b051fb525e
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ export default (manifestPath, repo) => {
|
||||||
pcManifest.theme = cssPath;
|
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
|
const jsCode = `// Generated by MS2Builder - pcTheme preprocessor / porter
|
||||||
let style;
|
let style;
|
||||||
|
|
Loading…
Reference in a new issue