mirror of
https://github.com/kilyabin/psysonic.git
synced 2026-07-22 14:35:41 +00:00
b4782aeedb
* experiment(zoom): allow setting webview zoom via core capability * experiment(zoom): drive uiScale through Tauri's native webview zoom Replace the CSS `zoom: uiScale` on `.main-content-zoom` (which only scaled the main content column, leaving the sidebar, queue panel, player bar and portaled overlays at 1.0) with a `setZoom` call on the current webview. That scales everything inside the window the same way Ctrl+/− does in a browser, including portals and the queue panel. Effect runs whenever `uiScale` changes and once on mount, so the persisted setting is reapplied on launch. * docs: changelog + credits for interface scale (#781)
46 lines
1.4 KiB
JSON
46 lines
1.4 KiB
JSON
{
|
|
"$schema": "../gen/schemas/capability-schema.json",
|
|
"identifier": "default",
|
|
"description": "Default capabilities for Psysonic",
|
|
"platforms": ["linux", "macOS", "windows"],
|
|
"windows": ["main", "mini"],
|
|
"permissions": [
|
|
"core:default",
|
|
"shell:default",
|
|
{ "identifier": "shell:allow-open", "allow": [{ "url": "https://**" }] },
|
|
"global-shortcut:allow-register",
|
|
"global-shortcut:allow-unregister",
|
|
"store:default",
|
|
"store:allow-load",
|
|
"store:allow-set",
|
|
"store:allow-get",
|
|
"store:allow-save",
|
|
"dialog:default",
|
|
"dialog:allow-open",
|
|
"dialog:allow-save",
|
|
"fs:default",
|
|
"fs:allow-write-file",
|
|
"fs:allow-read-file",
|
|
"fs:allow-mkdir",
|
|
"fs:scope-download-recursive",
|
|
"fs:scope-home-recursive",
|
|
"window-state:allow-save-window-state",
|
|
"window-state:allow-restore-state",
|
|
"core:window:allow-set-title",
|
|
"core:window:allow-close",
|
|
"core:window:allow-minimize",
|
|
"core:window:allow-toggle-maximize",
|
|
"core:window:allow-hide",
|
|
"core:window:allow-show",
|
|
"core:window:allow-set-fullscreen",
|
|
"core:window:allow-is-fullscreen",
|
|
"core:window:allow-start-dragging",
|
|
"core:window:allow-create",
|
|
"core:window:allow-set-size",
|
|
"core:webview:allow-create-webview-window",
|
|
"core:webview:allow-set-webview-zoom",
|
|
"process:allow-restart",
|
|
"updater:default"
|
|
]
|
|
}
|