File tree 5 files changed +25
-9
lines changed
5 files changed +25
-9
lines changed Original file line number Diff line number Diff line change 1
1
# Pake
2
2
3
- > 用 Rust 来打包你的 App,底层使用 Tauri,当前支持微信读书、Flomo,有更多想法,欢迎提 Issue。
3
+ > 用 Rust 来打包你的 App,底层使用 Tauri,当前支持微信读书、Flomo、Vercel ,有更多想法,欢迎提 Issue。
4
4
5
5
下载地址: < https://github.com/tw93/pake/releases >
6
6
14
14
15
15
![ 2] ( https://cdn.fliggy.com/upic/B49SAc.png )
16
16
17
+ ### Vercel
18
+
19
+ ![ 3] ( https://cdn.fliggy.com/upic/CPVRnY.png )
20
+
17
21
## 开发
18
22
19
23
开始前参考 [ tauri] ( https://tauri.app/v1/guides/getting-started/prerequisites#setting-up-macos ) 快速配置好环境
Original file line number Diff line number Diff line change @@ -38,18 +38,30 @@ fn main() -> wry::Result<()> {
38
38
(function () {
39
39
window.addEventListener('DOMContentLoaded', (event) => {
40
40
const style = document.createElement('style');
41
- .c-swiper-container{
42
- display:none;
43
- }
41
+ style.innerHTML = `
44
42
.panel.give_me .nav_view {
45
43
top: 154px !important;
46
44
}
45
+
46
+ .c-swiper-container,
47
47
.download_entry,
48
48
.lang,
49
49
.copyright {
50
50
display: none !important;
51
51
}
52
52
53
+ .container-with-note #home, .container-with-note #switcher{
54
+ top: 30px;
55
+ }
56
+
57
+ .geist-page {
58
+ padding-top:10px;
59
+ }
60
+
61
+ .geist-page .submenu button{
62
+ margin-top:24px;
63
+ }
64
+
53
65
#pack-top-dom:active {
54
66
cursor: grabbing;
55
67
cursor: -webkit-grabbing;
@@ -107,7 +119,7 @@ fn main() -> wry::Result<()> {
107
119
} ;
108
120
109
121
let _webview = WebViewBuilder :: new ( window) ?
110
- . with_url ( "https://www.duokan. com/pc /" ) ?
122
+ . with_url ( "https://vercel. com/" ) ?
111
123
// .with_devtools(true)
112
124
. with_initialization_script ( script)
113
125
. with_ipc_handler ( handler)
Original file line number Diff line number Diff line change 1
1
{
2
2
"package" : {
3
- "productName" : " Flomo " ,
3
+ "productName" : " Vercel " ,
4
4
"version" : " 0.1.0"
5
5
},
6
6
"build" : {
14
14
"all" : true
15
15
},
16
16
"bundle" : {
17
- "icon" : [" icons/flomo .icns" ],
17
+ "icon" : [" icons/vercel .icns" ],
18
18
"active" : true ,
19
19
"category" : " DeveloperTool" ,
20
20
"copyright" : " " ,
21
21
"deb" : {
22
22
"depends" : []
23
23
},
24
24
"externalBin" : [],
25
- "identifier" : " com.tw93.flomo " ,
25
+ "identifier" : " com.tw93.vercel " ,
26
26
"longDescription" : " " ,
27
27
"macOS" : {
28
28
"entitlements" : null ,
51
51
"fullscreen" : false ,
52
52
"height" : 728 ,
53
53
"resizable" : true ,
54
- "title" : " Flomo " ,
54
+ "title" : " Vercel " ,
55
55
"width" : 1200
56
56
}
57
57
]
You can’t perform that action at this time.
0 commit comments