ChatGPT-Next-Web
ChatGPT-Next-Web copied to clipboard
Client App Always on top [Tauri]
Ref : [Feature] Client APP always on top #2997
[+] chore(tauri): update tauri features and configuration
- Update tauri features in Cargo.toml
- Add "setAlwaysOnTop" feature in tauri.conf.json
We can simply add a pin icon here:
You can find the icon at /app/icons/pin.svg
for tauri api set always on top ?
Sure, user clicks the pin button, and it will call the tauri api to toggle AlwaysOnTop
status.
@Yidadaa test now
Bot detected the issue body's language is not English, translate it automatically.
@Yidadaa test now
may you can fix this for runtime nodejs ⚠ Using edge runtime on a page currently disables static generation for that page
Build error occurred Error: Page "/api/cors/[...path]" is missing "generateStaticParams()" so it cannot be used with "output: export" config.
@Yidadaa sorry this can't be done quickly
a doc in tauri its weird https://tauri.app/v1/api/js/window
this should be right
but when trying
edited :
something wrong in tauri, its should be function instead of install package just for set alwaysontop true or false like other api (example api notification
)