Compare commits

..

No commits in common. "a53a117652186e6fc2d3278f3339bff7fb9e731a" and "17080051ff9dfb40e4cfd05617a85edaa4326bad" have entirely different histories.

View file

@ -152,11 +152,11 @@ async function buildScript(scriptPath) {
.replace(/{{UNIXDATE}}/gim, Date.now());
let metaContent = metaContentOriginal.replace(
/{{FILE_URL}}/gim,
`https://git.bowu.dev/bowu/UserScriptsPublic/raw/branch/main/build/${scriptName}.user.js`
`https://git.bowu.dev/bowu/UserScripts/raw/branch/main/build/${scriptName}.user.js`
);
let metaMiniContent = metaContentOriginal.replace(
/{{FILE_URL}}/gim,
`https://git.bowu.dev/bowu/UserScriptsPublic/raw/branch/main/build/${scriptName}.min.user.js`
`https://git.bowu.dev/bowu/UserScripts/raw/branch/main/build/${scriptName}.min.user.js`
);
const scriptContent = fs.readFileSync(tempPath, "utf8");
fs.writeFileSync(outPath, `${metaContent}\n${scriptContent}`);