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 "Authorization: token $GITHUB_TOKEN" \
|
||||||
-H "Content-Type: application/json" \
|
-H "Content-Type: application/json" \
|
||||||
"$API/releases" \
|
"$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'])")
|
| python3 -c "import sys,json; print(json.load(sys.stdin)['id'])")
|
||||||
|
|
||||||
find out/make -name "*.deb" -o -name "*.zip" | while read file; do
|
find out/make -name "*.deb" -o -name "*.zip" | while read file; do
|
||||||
|
|
|
||||||
|
|
@ -13,8 +13,8 @@ import { FuseV1Options, FuseVersion } from "@electron/fuses";
|
||||||
|
|
||||||
const STRINGS = {
|
const STRINGS = {
|
||||||
author: "MiTHRAL",
|
author: "MiTHRAL",
|
||||||
name: "Stoat",
|
name: "Sanctum",
|
||||||
execName: "stoat-desktop",
|
execName: "sanctum",
|
||||||
description: "Open source user-first chat platform.",
|
description: "Open source user-first chat platform.",
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -63,7 +63,7 @@ if (!CI_PLATFORM) {
|
||||||
}),
|
}),
|
||||||
new MakerFlatpak({
|
new MakerFlatpak({
|
||||||
options: {
|
options: {
|
||||||
id: "chat.stoat.stoat-desktop",
|
id: "cloud.mithraic.sanctum",
|
||||||
description: STRINGS.description,
|
description: STRINGS.description,
|
||||||
productName: STRINGS.name,
|
productName: STRINGS.name,
|
||||||
productDescription: STRINGS.description,
|
productDescription: STRINGS.description,
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,9 @@
|
||||||
{
|
{
|
||||||
"name": "stoat-desktop",
|
"name": "sanctum",
|
||||||
"productName": "stoat-desktop",
|
"productName": "sanctum",
|
||||||
"version": "1.3.0",
|
"version": "1.3.0",
|
||||||
"main": ".vite/build/main.js",
|
"main": ".vite/build/main.js",
|
||||||
"repository": "https://git.mithraic.cloud/ad3laid3/stoat-desktop",
|
"repository": "https://git.mithraic.cloud/ad3laid3/sanctum",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "electron-forge start",
|
"start": "electron-forge start",
|
||||||
"package": "electron-forge package",
|
"package": "electron-forge package",
|
||||||
|
|
|
||||||
|
|
@ -43,7 +43,7 @@ if (acquiredLock) {
|
||||||
|
|
||||||
// Windows specific fix for notifications
|
// Windows specific fix for notifications
|
||||||
if (process.platform === "win32") {
|
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";
|
import { mainWindow } from "./window";
|
||||||
|
|
||||||
export const autoLaunch = new AutoLaunch({
|
export const autoLaunch = new AutoLaunch({
|
||||||
name: "Stoat",
|
name: "Sanctum",
|
||||||
});
|
});
|
||||||
|
|
||||||
ipcMain.handle("getAutostart", async () => {
|
ipcMain.handle("getAutostart", async () => {
|
||||||
|
|
|
||||||
|
|
@ -47,8 +47,8 @@ export async function setBadgeCount(count: number) {
|
||||||
signature: "sa{sv}",
|
signature: "sa{sv}",
|
||||||
body: [
|
body: [
|
||||||
process.env.container === "1"
|
process.env.container === "1"
|
||||||
? "application://chat.stoat.stoat-desktop.desktop" // flatpak handling
|
? "application://cloud.mithraic.sanctum.desktop" // flatpak handling
|
||||||
: "application://stoat-desktop.desktop",
|
: "application://sanctum.desktop",
|
||||||
[
|
[
|
||||||
["count", ["x", Math.min(count, 0)]],
|
["count", ["x", Math.min(count, 0)]],
|
||||||
["count-visible", ["b", count !== 0]],
|
["count-visible", ["b", count !== 0]],
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@ export function initTray() {
|
||||||
const trayIcon = createTrayIcon();
|
const trayIcon = createTrayIcon();
|
||||||
tray = new Tray(trayIcon);
|
tray = new Tray(trayIcon);
|
||||||
updateTrayMenu();
|
updateTrayMenu();
|
||||||
tray.setToolTip("Stoat for Desktop");
|
tray.setToolTip("Sanctum");
|
||||||
tray.setImage(trayIcon);
|
tray.setImage(trayIcon);
|
||||||
tray.on("click", () => {
|
tray.on("click", () => {
|
||||||
if (mainWindow.isVisible()) {
|
if (mainWindow.isVisible()) {
|
||||||
|
|
@ -40,7 +40,7 @@ export function initTray() {
|
||||||
export function updateTrayMenu() {
|
export function updateTrayMenu() {
|
||||||
tray.setContextMenu(
|
tray.setContextMenu(
|
||||||
Menu.buildFromTemplate([
|
Menu.buildFromTemplate([
|
||||||
{ label: "Stoat for Desktop", type: "normal", enabled: false },
|
{ label: "Sanctum", type: "normal", enabled: false },
|
||||||
{
|
{
|
||||||
label: "Version",
|
label: "Version",
|
||||||
type: "submenu",
|
type: "submenu",
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
import { Notification, app, shell } from "electron";
|
import { Notification, app, shell } from "electron";
|
||||||
|
|
||||||
const RELEASES_URL =
|
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() {
|
export async function checkForUpdates() {
|
||||||
try {
|
try {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue