文档地址:https://v2.tauri.app/zh-cn/plugin/updater/ 一、添加Cargo.toml依赖 /src-tauri/Cargo.toml [target.'cfg(target_os = "windows")'.dependencies] tauri-plugi
我需要更改Tauri的默认图标,查阅文档发现可以使用tauri icon 进行批量生成,要求是正方形的png或者svg文件,命令默认选取的文件路径为 ./app-icon.png。 文档地址:https://v2.tauri.app/reference/cli/#icon 我的命令:npm run
//systemTray.ts import { TrayIcon, TrayIconEvent } from "@tauri-apps/api/tray"; import { defaultWindowIcon } from "@tauri-apps/api/app"; import { Win
这是使用默认标题栏的样子,我想要把左上角的图标去掉。 Tauri文档地址:https://v2.tauri.app/zh-cn/learn/window-customization/#tauriconfjson