chore(electron): update app branding icon assets and ignore local artifacts

Replace desktop icon assets with the provided logo, align Electron app naming to Star Office UI, and refresh .gitignore to exclude local runtime/build outputs.

Made-with: Cursor
This commit is contained in:
Zhaohan Wang 2026-03-04 17:45:05 +08:00
parent e888dc07b8
commit 19e82bb405
10 changed files with 15 additions and 10 deletions

17
.gitignore vendored
View file

@ -1,4 +1,4 @@
# Python
# Python environment
__pycache__/
*.py[cod]
*.pyo
@ -8,13 +8,13 @@ __pycache__/
venv/
.env
# OS
# OS/editor
.DS_Store
# Runtime / local files
# Runtime state (local only)
state.json
agents-state.json
# keep join-keys.json in repo for first-run demo
runtime-config.json
*.log
*.out
*.pid
@ -24,8 +24,13 @@ cloudflared.pid
cloudflared.out
healthcheck.log
backend.log
frontend/office_bg.png
runtime-config.json
# Generated / mutable assets (local only)
assets/bg-history/
assets/home-favorites/
frontend/office_bg.png
frontend/*.bak
# Electron local build artifacts
electron-shell/node_modules/
electron-shell/release/

Binary file not shown.

Before

Width:  |  Height:  |  Size: 26 KiB

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 68 KiB

After

Width:  |  Height:  |  Size: 91 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9 KiB

After

Width:  |  Height:  |  Size: 9.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 90 KiB

After

Width:  |  Height:  |  Size: 135 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 199 KiB

After

Width:  |  Height:  |  Size: 839 KiB

View file

@ -3,7 +3,7 @@ const { spawn } = require("child_process");
const fs = require("fs");
const path = require("path");
const net = require("net");
const APP_NAME = "Star Desktop Pet";
const APP_NAME = "Star Office UI";
let mainWindow = null;
let miniWindow = null;
@ -317,7 +317,7 @@ function createWindows(projectRoot) {
nodeIntegration: false,
},
});
miniWindow.setTitle("Star Mini");
miniWindow.setTitle("Star Office UI Mini");
const v = Date.now();
const mainUrl = `http://127.0.0.1:18791/electron-standalone?desktop=1&v=${v}`;

View file

@ -1,6 +1,6 @@
{
"name": "star-desktop-pet-shell",
"productName": "Star Desktop Pet",
"name": "star-office-ui",
"productName": "Star Office UI",
"private": true,
"version": "0.1.0",
"main": "main.js",