修改应用名称

This commit is contained in:
2026-02-19 19:27:19 +08:00
parent 6df612889b
commit 3165304016
4 changed files with 5 additions and 4 deletions

View File

@@ -204,7 +204,7 @@ app.on("will-quit", () => {
function getIconPath() {
let iconPath = "";
const iconFile =
process.platform === "win32" ? "amber-pm-logo.ico" : "amber-pm-logo.png"; // 图标文件名linux下需要png格式不然会不显示
process.platform === "win32" ? "amber-pm-logo.ico" : "spark-store.svg"; // 图标文件名linux下需要png格式不然会不显示
// 判断是否在打包模式
if (app.isPackaged) {
// 打包模式