chore: rebrand from Stoat to Sanctum
All checks were successful
Build & Release / build (push) Successful in 2m26s
All checks were successful
Build & Release / build (push) Successful in 2m26s
Rename app name, exec, flatpak ID, tray labels, Windows app model ID, D-Bus desktop IDs, updater URL, and repo references throughout. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
28eed3e03d
commit
376dc56e52
8 changed files with 14 additions and 14 deletions
|
|
@ -45,7 +45,7 @@ jobs:
|
|||
-H "Authorization: token $GITHUB_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
"$API/releases" \
|
||||
-d "{\"tag_name\":\"$TAG\",\"name\":\"$TAG\"}" \
|
||||
-d "{\"tag_name\":\"$TAG\",\"name\":\"Sanctum $TAG\"}" \
|
||||
| python3 -c "import sys,json; print(json.load(sys.stdin)['id'])")
|
||||
|
||||
find out/make -name "*.deb" -o -name "*.zip" | while read file; do
|
||||
|
|
|
|||
|
|
@ -13,8 +13,8 @@ import { FuseV1Options, FuseVersion } from "@electron/fuses";
|
|||
|
||||
const STRINGS = {
|
||||
author: "MiTHRAL",
|
||||
name: "Stoat",
|
||||
execName: "stoat-desktop",
|
||||
name: "Sanctum",
|
||||
execName: "sanctum",
|
||||
description: "Open source user-first chat platform.",
|
||||
};
|
||||
|
||||
|
|
@ -63,7 +63,7 @@ if (!CI_PLATFORM) {
|
|||
}),
|
||||
new MakerFlatpak({
|
||||
options: {
|
||||
id: "chat.stoat.stoat-desktop",
|
||||
id: "cloud.mithraic.sanctum",
|
||||
description: STRINGS.description,
|
||||
productName: STRINGS.name,
|
||||
productDescription: STRINGS.description,
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
{
|
||||
"name": "stoat-desktop",
|
||||
"productName": "stoat-desktop",
|
||||
"name": "sanctum",
|
||||
"productName": "sanctum",
|
||||
"version": "1.3.0",
|
||||
"main": ".vite/build/main.js",
|
||||
"repository": "https://git.mithraic.cloud/ad3laid3/stoat-desktop",
|
||||
"repository": "https://git.mithraic.cloud/ad3laid3/sanctum",
|
||||
"scripts": {
|
||||
"start": "electron-forge start",
|
||||
"package": "electron-forge package",
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@ if (acquiredLock) {
|
|||
|
||||
// Windows specific fix for notifications
|
||||
if (process.platform === "win32") {
|
||||
app.setAppUserModelId("chat.stoat.notifications");
|
||||
app.setAppUserModelId("cloud.mithraic.sanctum");
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ import { ipcMain } from "electron";
|
|||
import { mainWindow } from "./window";
|
||||
|
||||
export const autoLaunch = new AutoLaunch({
|
||||
name: "Stoat",
|
||||
name: "Sanctum",
|
||||
});
|
||||
|
||||
ipcMain.handle("getAutostart", async () => {
|
||||
|
|
|
|||
|
|
@ -47,8 +47,8 @@ export async function setBadgeCount(count: number) {
|
|||
signature: "sa{sv}",
|
||||
body: [
|
||||
process.env.container === "1"
|
||||
? "application://chat.stoat.stoat-desktop.desktop" // flatpak handling
|
||||
: "application://stoat-desktop.desktop",
|
||||
? "application://cloud.mithraic.sanctum.desktop" // flatpak handling
|
||||
: "application://sanctum.desktop",
|
||||
[
|
||||
["count", ["x", Math.min(count, 0)]],
|
||||
["count-visible", ["b", count !== 0]],
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ export function initTray() {
|
|||
const trayIcon = createTrayIcon();
|
||||
tray = new Tray(trayIcon);
|
||||
updateTrayMenu();
|
||||
tray.setToolTip("Stoat for Desktop");
|
||||
tray.setToolTip("Sanctum");
|
||||
tray.setImage(trayIcon);
|
||||
tray.on("click", () => {
|
||||
if (mainWindow.isVisible()) {
|
||||
|
|
@ -40,7 +40,7 @@ export function initTray() {
|
|||
export function updateTrayMenu() {
|
||||
tray.setContextMenu(
|
||||
Menu.buildFromTemplate([
|
||||
{ label: "Stoat for Desktop", type: "normal", enabled: false },
|
||||
{ label: "Sanctum", type: "normal", enabled: false },
|
||||
{
|
||||
label: "Version",
|
||||
type: "submenu",
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
import { Notification, app, shell } from "electron";
|
||||
|
||||
const RELEASES_URL =
|
||||
"https://git.mithraic.cloud/api/v1/repos/ad3laid3/stoat-desktop/releases/latest";
|
||||
"https://git.mithraic.cloud/api/v1/repos/ad3laid3/sanctum/releases/latest";
|
||||
|
||||
export async function checkForUpdates() {
|
||||
try {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue