Skip to content

Commit

Permalink
fix: fix padding
Browse files Browse the repository at this point in the history
  • Loading branch information
std-microblock committed Feb 14, 2024
1 parent 048e90e commit 6f8e136
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
Binary file modified resources/dist.rc
Binary file not shown.
2 changes: 1 addition & 1 deletion src/celemod-ui/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const postBuildAction = () => {
if (file.endsWith('.html')) {
let html = fs.readFileSync(`./dist/${file}`, 'utf8');
const sciterSpecific = fs.readFileSync('./src/sciter-specific.js', 'utf-8');
html = html.replace(`"padding for sciter-specific.js"`,
html = html.replace(`padding("padding for sciter-specific.js")`,
`</script><script type="module">${sciterSpecific}`
);
fs.writeFileSync(`./dist/${file}`, html, 'utf8');
Expand Down
2 changes: 1 addition & 1 deletion src/celemod-ui/src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
</head>

<script>
"padding for sciter-specific.js"
padding("padding for sciter-specific.js")
</script>

<body>
Expand Down

0 comments on commit 6f8e136

Please sign in to comment.