Add ccweb app icons

This commit is contained in:
shiyue
2026-06-24 17:34:27 +08:00
parent 5511a9d7e6
commit 785cf79025
10 changed files with 38 additions and 15 deletions

View File

@@ -2,7 +2,7 @@
(function () {
'use strict';
const ASSET_VERSION = '20260622-streaming-restore';
const ASSET_VERSION = '20260624-icon-refresh';
const WS_URL = `${location.protocol === 'https:' ? 'wss' : 'ws'}://${location.host}/ws`;
const RENDER_DEBOUNCE = 100;
const COMPOSER_SUGGESTION_DEBOUNCE = 120;
@@ -7569,6 +7569,7 @@
navigator.serviceWorker.ready.then((reg) => {
reg.showNotification('CC-Web', {
body: `${title}」任务完成`,
icon: '/icon-192.png',
tag: 'cc-web-task',
renotify: true,
});
@@ -8533,7 +8534,7 @@
panel.className = 'force-change-panel';
panel.innerHTML = `
<div class="login-logo">CC</div>
<img class="login-logo" src="icon-192.png" alt="CC-Web">
<h2>修改初始密码</h2>
<p>首次登录需要设置新密码</p>
<div class="force-change-form">