修改应用名称

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) {
// 打包模式

View File

@@ -2,10 +2,10 @@
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/amber-pm-logo.png" />
<link rel="icon" type="image/svg+xml" href="/spark-store.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="Content-Security-Policy" content="script-src 'self' 'unsafe-inline';" />
<title>APM 应用商店</title>
<title>星火应用商店</title>
</head>
<body>
<div id="app"></div>

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 34 KiB

View File

@@ -75,7 +75,7 @@
<script setup lang="ts">
import ThemeToggle from "./ThemeToggle.vue";
import amberLogo from "../assets/imgs/amber-pm-logo.png";
import amberLogo from "../assets/imgs/spark-store.svg";
defineProps<{
// eslint-disable-next-line @typescript-eslint/no-explicit-any