Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1diff --git a/scripts/build/common.mjs b/scripts/build/common.mjs 2index 7ff599a..85b3bfa 100644 3--- a/scripts/build/common.mjs 4+++ b/scripts/build/common.mjs 5@@ -24,7 +24,7 @@ import { promisify } from "util"; 6 7 export const watch = process.argv.includes("--watch"); 8 export const isStandalone = JSON.stringify(process.argv.includes("--standalone")); 9-export const gitHash = execSync("git rev-parse --short HEAD", { encoding: "utf-8" }).trim(); 10+export const gitHash = "@version@"; 11 export const banner = { 12 js: ` 13 // Vencord ${gitHash} 14@@ -124,11 +124,7 @@ export const gitRemotePlugin = { 15 namespace: "git-remote", path: args.path 16 })); 17 build.onLoad({ filter, namespace: "git-remote" }, async () => { 18- const res = await promisify(exec)("git remote get-url origin", { encoding: "utf-8" }); 19- const remote = res.stdout.trim() 20- .replace("https://github.com/", "") 21- .replace("git@github.com:", "") 22- .replace(/.git$/, ""); 23+ const remote = "Vendicated/Vencord"; 24 25 return { contents: `export default "${remote}"` }; 26 });