[Share Experiences] rust打包webapp,貌似还不错
Tofloor
poster avatar
川顺页
deepin
2022-11-18 07:20
Author

Tauri 是一个跨平台 GUI 框架,与 Electron 的思想基本类似。Tauri 的前端实现也是基于 Web 系列语言,Tauri 的后端使用 Rust。Tauri 可以创建体积更小、运行更快、更加安全的跨平台桌面应用。

11月24日更新

  • 修复web数据无法储存问题。
  • 更换默认UA为Mac下面的Safari浏览器,显示效果更好。

11月18日20点更新

  • 已完成快捷键修改,可以用Ctrl来代替Mac的Command按键了。
  • 同时优化了windows的打包,增加了Windows左上角小图标支持。
  • 增加了Linux下批量打包功能。
  • 支持Linux下应用中文显示。

截图分享

image.png

已经打包好的应用

name(Linux) name(Mac/Windows) name_zh url
twitter Twitter 推特 https://twitter.com/
translate GoogleTranslate 谷歌翻译 https://translate.google.com/
youtube YouTube YouTube https://youtube.com
reference Reference Reference https://wangchujiang.com/reference/index.html
code Code Code https://riju.codes/
yuque YuQue 语雀 https://www.yuque.com/
flomo Flomo 浮墨 https://flomoapp.com/mine
weread WeRead 微信阅读 https://weread.qq.com/

下载地址

  • github链接: https://github.com/tw93/Pake/releases/tag/V0.9.0
  • 123pan链接(共6个应用):https://www.123pan.com/s/oEqDVv-3Qek提取码:Fo5S
  • 开源地址:https://github.com/tw93/Pake
Reply Favorite View the author
All Replies
川顺页
deepin
2022-11-18 08:21
#1

暂无。

Reply View the author
uvz
deepin
2022-11-18 16:08
#2

这动手能力可以了

Reply View the author
black_white_bear
deepin
2022-11-18 16:53
#3
川顺页

暂无。

如果,你有兴趣,也可以试一下 Dioxus,可以免于Npm和node JS环境的配置

Reply View the author
川顺页
deepin
2022-11-18 17:32
#4
black_white_bear

如果,你有兴趣,也可以试一下 Dioxus,可以免于Npm和node JS环境的配置

感觉结合nodejs会更好一些?毕竟nodejs更贴近web。

Reply View the author
thepoy
deepin
2022-11-18 18:48
#5

tauri在linux上的渲染与windows和mac不一致,这是 webkit2gtk 的问题,解决起来可不容易。

不知道这个程序有没有解决好这个问题。

Reply View the author
川顺页
deepin
2022-11-25 06:41
#6
thepoy

tauri在linux上的渲染与windows和mac不一致,这是 webkit2gtk 的问题,解决起来可不容易。

不知道这个程序有没有解决好这个问题。

没啥感觉,改个浏览器UA后,感觉显示效果和Mac渲染的差不多。

Reply View the author
川顺页
deepin
2022-11-25 06:41
#7
thepoy

tauri在linux上的渲染与windows和mac不一致,这是 webkit2gtk 的问题,解决起来可不容易。

不知道这个程序有没有解决好这个问题。

感觉差不多吧。最新版支持自定义UA功能,可以伪装Mac的浏览器来获得更好体验。

Reply View the author
thepoy
deepin
2022-11-25 07:00
#8
川顺页

没啥感觉,改个浏览器UA后,感觉显示效果和Mac渲染的差不多。

你在开什么玩笑,改UA跟渲染有什么关系

Reply View the author