fix: update application metadata and default build URL

This commit is contained in:
Ryan Fong 2026-02-26 00:11:51 -08:00
parent 4ad078c80f
commit 087df8abfe
3 changed files with 8 additions and 5 deletions

View File

@ -67,6 +67,7 @@ jobs:
env: env:
PLATFORM: ${{ matrix.os }} PLATFORM: ${{ matrix.os }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VITE_API_URL: ${{ secrets.VITE_API_URL }}
- name: Publish macOS x64 - name: Publish macOS x64
if: matrix.os == 'macos-latest' if: matrix.os == 'macos-latest'
@ -74,6 +75,7 @@ jobs:
env: env:
PLATFORM: ${{ matrix.os }} PLATFORM: ${{ matrix.os }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VITE_API_URL: ${{ secrets.VITE_API_URL }}
- name: Publish Linux arm64 - name: Publish Linux arm64
if: matrix.os == 'ubuntu-latest' if: matrix.os == 'ubuntu-latest'
@ -81,3 +83,4 @@ jobs:
env: env:
PLATFORM: ${{ matrix.os }} PLATFORM: ${{ matrix.os }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VITE_API_URL: ${{ secrets.VITE_API_URL }}

View File

@ -13,10 +13,10 @@ import { FuseV1Options, FuseVersion } from "@electron/fuses";
// import { globSync } from "node:fs"; // import { globSync } from "node:fs";
const STRINGS = { const STRINGS = {
author: "Revolt Platforms LTD", author: "Revolt Platforms LTD & Qinbeans",
name: "Stoat", name: "QStoat",
execName: "stoat-desktop", execName: "qstoat-desktop",
description: "Open source user-first chat platform.", description: "Open source user-first chat platform. A touch of Qinbeans was added...",
}; };
const ASSET_DIR = "assets/desktop"; const ASSET_DIR = "assets/desktop";

View File

@ -21,7 +21,7 @@ export let mainWindow: BrowserWindow;
export const BUILD_URL = new URL( export const BUILD_URL = new URL(
app.commandLine.hasSwitch("force-server") app.commandLine.hasSwitch("force-server")
? app.commandLine.getSwitchValue("force-server") ? app.commandLine.getSwitchValue("force-server")
: /*MAIN_WINDOW_VITE_DEV_SERVER_URL ??*/ "https://beta.revolt.chat", : /*MAIN_WINDOW_VITE_DEV_SERVER_URL ??*/ "https://stoat.qinbeans.net",
); );
// internal window state // internal window state