chore: rename JMAP Webmail to Bulwark Webmail and update all URLs

This commit is contained in:
Linus Rath
2026-03-13 13:14:08 +01:00
parent 02344d169c
commit e85d0b946e
14 changed files with 74 additions and 74 deletions
+3 -3
View File
@@ -1,7 +1,7 @@
import { readFileSync } from "fs";
const VERSION_CHECK_URL =
"https://raw.githubusercontent.com/root-fr/jmap-webmail/main/VERSION";
"https://raw.githubusercontent.com/bulwarkmail/webmail/main/VERSION";
const SEMVER_RE = /^\d+\.\d+\.\d+$/;
@@ -19,7 +19,7 @@ const pkg = JSON.parse(
readFileSync(`${process.cwd()}/package.json`, "utf-8")
);
const current: string = pkg.version ?? "0.0.0";
console.info(`JMAP Webmail v${current}`);
console.info(`Bulwark Webmail v${current}`);
if (process.env.NODE_ENV === "production") {
fetch(VERSION_CHECK_URL, {
@@ -36,7 +36,7 @@ if (process.env.NODE_ENV === "production") {
if (!SEMVER_RE.test(remote)) return;
if (compareVersions(current, remote) > 0) {
console.info(
`Update available: v${remote} — https://github.com/root-fr/jmap-webmail`
`Update available: v${remote} — https://github.com/bulwarkmail/webmail`
);
}
})