Files
ConnorYoh cbc8af1951 feat(desktop): custom in-app window title bar on Windows (#7781)
<img width="1750" height="1223" alt="image"
src="https://github.com/user-attachments/assets/c115a30c-be62-4eaa-8de3-26a93a605919"
/>

## Custom windows top bar
* Doesn't work on mac
* doesn't effect web 
* little effort been put into mobile view
2026-09-02 21:31:45 +00:00

87 lines
2.5 KiB
JSON

{
"$schema": "../gen/schemas/desktop-schema.json",
"identifier": "default",
"description": "enables the default permissions",
"windows": ["main", "main-*"],
"permissions": [
"core:default",
"core:window:allow-destroy",
"core:window:allow-minimize",
"core:window:allow-toggle-maximize",
"core:window:allow-internal-toggle-maximize",
"core:window:allow-close",
"core:window:allow-is-maximized",
"core:window:allow-start-dragging",
"http:default",
{
"identifier": "http:allow-fetch",
"allow": [
{ "url": "http://*" },
{ "url": "http://*:*" },
{ "url": "https://*" },
{ "url": "https://*:*" },
{ "url": "http://192.168.*.*" },
{ "url": "http://192.168.*.*:*" },
{ "url": "https://192.168.*.*" },
{ "url": "https://192.168.*.*:*" },
{ "url": "http://10.*.*.*" },
{ "url": "http://10.*.*.*:*" },
{ "url": "https://10.*.*.*" },
{ "url": "https://10.*.*.*:*" },
{ "url": "http://172.16.*.*" },
{ "url": "http://172.16.*.*:*" },
{ "url": "https://172.16.*.*" },
{ "url": "https://172.16.*.*:*" },
{ "url": "http://localhost:*" },
{ "url": "https://localhost:*" },
{ "url": "http://127.0.0.1:*" },
{ "url": "https://127.0.0.1:*" }
]
},
"http:allow-fetch-cancel",
"http:allow-fetch-read-body",
"http:allow-fetch-send",
{
"identifier": "fs:allow-read-file",
"allow": [{ "path": "**" }]
},
{
"identifier": "fs:allow-read-dir",
"allow": [{ "path": "**" }]
},
{
"identifier": "fs:allow-stat",
"allow": [{ "path": "**" }]
},
{
"identifier": "fs:allow-mkdir",
"allow": [{ "path": "**" }]
},
{
"identifier": "fs:allow-write-file",
"allow": [{ "path": "**" }]
},
{
"identifier": "fs:allow-remove",
"allow": [{ "path": "**" }]
},
"dialog:default",
"dialog:allow-message",
"dialog:allow-open",
"dialog:allow-save",
"opener:default",
"shell:allow-open",
"notification:allow-notify",
"notification:allow-request-permission",
"notification:allow-is-permission-granted",
"window-state:allow-filename",
"window-state:allow-restore-state",
"window-state:allow-save-window-state",
"updater:default",
"updater:allow-check",
"updater:allow-download",
"updater:allow-download-and-install",
"updater:allow-install"
]
}