使用Tauri
初始化一个桌面端应用,也可以配合Vue
等一起使用.
也可以直接内嵌一个运程的站点地址.
1、配置了启动界面
2、系统托盘菜单
3、最小化、最大化(全屏)、隐藏
yarn
yarn run tauri dev
yarn
yarn run tauri build
1、部分依赖文件很难下载成功,可以手动将文件放到C:\Users\Administrator\AppData\Local
目录中. Local File,将此压缩外解决到Local\tauri
目录中;可以参考官方issues.
2、yarn run tauri dev
或者 yarn run tauri build
的时候可能有很多包下载不成功,多执行几次就好了.
3、NsisConfig
中的headerImage
、sidebarImage
必须使用在window
系统下生成的.bmp
图片文件.
loading:
main: