Skip to content

修改图标显示逻辑,增加图标包管理,切换#5

Open
lsxuan12138 wants to merge 6 commits intokdada:mainfrom
lsxuan12138:main
Open

修改图标显示逻辑,增加图标包管理,切换#5
lsxuan12138 wants to merge 6 commits intokdada:mainfrom
lsxuan12138:main

Conversation

@lsxuan12138
Copy link

@lsxuan12138 lsxuan12138 commented Mar 15, 2026

-修复shardSecret字段名错误,兼容前面版本导出的文件,兼容前面版本的kvstore恢复,修改导出
-增加图标包管理,图标包切换
-增加手动切换图标
-完善本地化
-简单测试了下,应该问题不大

export let proxyAuthToken = ""
export let proxyServer = "p.authenticator.app.kilodim.com"

export let proxyAuthToken = "O3bCCgOpQtDYcVQCwFKB1Gb2R3dCW9lmU6nwK4TEtSyqZMfaITpkiYZQznr3j2nm"
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个文件不要提交,源码里不应该存在密钥信息

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个不好意思,刚最后一次提交的时候没注意,另外关于这个信息我得解释一下怎么得到的,先用clash抓域名,然后用16进制编辑器直接看hap,搜域名,密钥就在域名旁边。不过我个人感觉只要发hap包,这种方法没法避免。

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

剩下的明天再改

Copy link
Owner

@kdada kdada Mar 15, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个 token 被发现是预期内的。token 只是用来做代理的简单认证,即使 token 泄露,app 用户的通信也是安全的。

另外,我的意思是不要写在代码里,避免被搜索引擎或者 AI 检索到,一旦被滥用,就得换 token 了,比较麻烦。

export class IconPackRegistry {
private static readonly DEFAULT_PACK_KEY = 'default';
private static readonly DEFAULT_ISSUERS: Set<string> = new Set([
'1and1', '1password', '23andme', 'adafruit', 'adguard', 'adobe', 'airbnb', 'airbrake', 'airtable', 'allegropl',
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

没找到阿里云的图标。

需要确认一下对原有图标的兼容性。

Stack() {
if (this.hasImageSource()) {
Image(this.getImageSource())
.width(40)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

svg 的大小不一,这里统一宽高,图标看起来也会大小不一

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

大佬,关于这个我想请教一下。就是我考虑把这些内置图标换掉,用aegis-icon的图标,大小应该会比较统一,但是感觉可能会有一些版权方面的问题,而且现在添加的也未必没有这方面的问题。要不还是就保留你之前的那些图标,我的那些都删掉吧,保留图标包的功能,把这方面的版权问题规避掉,都由用户来添加。

-重构版本兼容代码
-fix: issuer中steam小写时打不开Detail
-增加手动选择图标的组件,长按Index和Detail的图标唤起
-修改图标匹配逻辑,参考aegis
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants