refactor: new updater dialog (#874)

This commit is contained in:
Huang Xin 2025-04-13 02:06:14 +08:00 committed by GitHub
parent 53e7f2526c
commit f7d53508a6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
26 changed files with 472 additions and 125 deletions

View file

@ -2,7 +2,7 @@
"$schema": "../gen/schemas/desktop-schema.json",
"identifier": "default",
"description": "enables the default permissions",
"windows": ["main"],
"windows": ["main", "updater"],
"permissions": [
"core:default",
"fs:default",
@ -45,6 +45,9 @@
{
"url": "https://*.deepl.com"
},
{
"url": "https://github.com/readest/*"
},
{
"url": "https://*.cloudflarestorage.com"
}
@ -65,6 +68,8 @@
"core:window:allow-toggle-maximize",
"core:window:allow-set-fullscreen",
"core:window:allow-set-always-on-top",
"core:webview:allow-create-webview-window",
"core:path:allow-resolve-directory",
"log:default",
"shell:default",
"process:default",