Remove About button from NavRail and rename exe to XCOpenCodeWeb

This commit is contained in:
2026-03-13 15:03:45 +08:00
parent f780f2ddc3
commit c50547bce0
4 changed files with 7 additions and 23 deletions

View File

@@ -19,7 +19,6 @@ import {
RiSettings3Line,
RiQuestionLine,
RiDownloadLine,
RiInformationLine,
RiPencilLine,
RiCloseLine,
RiMenuFoldLine,
@@ -474,7 +473,6 @@ export const NavRail: React.FC<NavRailProps> = ({ className, mobile }) => {
const updateProjectMeta = useProjectsStore((s) => s.updateProjectMeta);
const homeDirectory = useDirectoryStore((s) => s.homeDirectory);
const setSettingsDialogOpen = useUIStore((s) => s.setSettingsDialogOpen);
const setAboutDialogOpen = useUIStore((s) => s.setAboutDialogOpen);
const toggleHelpDialog = useUIStore((s) => s.toggleHelpDialog);
const isOverlayBlockingNavRailActions = useUIStore((s) => (
s.isSettingsDialogOpen
@@ -551,7 +549,6 @@ export const NavRail: React.FC<NavRailProps> = ({ className, mobile }) => {
} | null>(null);
const isDesktopApp = React.useMemo(() => isDesktopShell(), []);
const tauriIpcAvailable = React.useMemo(() => isTauriShell(), []);
const formatLabel = React.useCallback(
(project: ProjectEntry): string => {
@@ -821,19 +818,6 @@ export const NavRail: React.FC<NavRailProps> = ({ className, mobile }) => {
/>
)}
{!isDesktopApp && !(updateAvailable || updateDownloaded) && (
<NavRailActionButton
onClick={() => setAboutDialogOpen(true)}
disabled={navRailInteractionBlocked}
ariaLabel="About"
icon={<RiInformationLine className={navRailActionIconClass} />}
tooltipLabel="About OpenChamber"
buttonClassName={navRailActionButtonClass}
showExpandedContent={showExpandedContent}
actionTextVisible={actionTextVisible}
/>
)}
{!mobile && (
<NavRailActionButton
onClick={toggleHelpDialog}

BIN
web/XCOpenCodeWeb.exe Normal file

Binary file not shown.

View File

@@ -1,9 +1,9 @@
{
"name": "openchamber",
"name": "xcopencodeweb",
"version": "1.8.5",
"description": "OpenChamber - AI Agent Web UI",
"description": "XCOpenCodeWeb - AI Agent Web UI",
"main": "electron/main.js",
"author": "OpenChamber",
"author": "XCOpenCodeWeb",
"license": "MIT",
"scripts": {
"electron:dev": "electron .",
@@ -11,8 +11,8 @@
"electron:start": "electron . --no-sandbox"
},
"build": {
"appId": "com.openchamber.app",
"productName": "OpenChamber",
"appId": "com.xcopencodeweb.app",
"productName": "XCOpenCodeWeb",
"directories": {
"output": "release"
},
@@ -27,7 +27,7 @@
"target": "portable"
},
"portable": {
"artifactName": "OpenChamber.exe"
"artifactName": "XCOpenCodeWeb.exe"
}
},
"dependencies": {},

View File

@@ -21,7 +21,7 @@
"lint": "eslint \"./src/**/*.{ts,tsx}\" --config ../eslint.config.js",
"start": "node bin/cli.js serve",
"embed:static": "node embed-static.js",
"build:exe": "vite build && node embed-static.js && bun build entry-singlefile.js --compile --outfile OpenChamber.exe"
"build:exe": "vite build && node embed-static.js && bun build entry-singlefile.js --compile --outfile XCOpenCodeWeb.exe"
},
"dependencies": {
"@codemirror/lang-cpp": "^6.0.3",