File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ fn gen_module_prop(data: &CargoConfig) -> Result<()> {
106106
107107fn update_json ( data : & CargoConfig ) -> Result < ( ) > {
108108 let version = & data. package . version ;
109- let version_code: usize = version . replace ( '.' , "" ) . trim ( ) . parse ( ) ?;
109+ let version_code = cal_version_code ( version ) ?;
110110 let version = format ! ( "v{version}" ) ;
111111
112112 let zip_url =
Original file line number Diff line number Diff line change 11{
2- "versionCode" : 491 ,
2+ "versionCode" : 409001 ,
33 "version" : " v4.9.1" ,
44 "zipUrl" : " https://github.com/shadow3aaa/fas-rs/releases/download/v4.9.1/fas-rs.zip" ,
55 "changelog" : " https://github.com/shadow3aaa/fas-rs/raw/master/update/zh-CN/changelog.md"
Original file line number Diff line number Diff line change 11{
2- "versionCode" : 491 ,
2+ "versionCode" : 409001 ,
33 "version" : " v4.9.1" ,
44 "zipUrl" : " https://github.com/shadow3aaa/fas-rs/releases/download/v4.9.1/fas-rs.zip" ,
55 "changelog" : " https://github.com/shadow3aaa/fas-rs/raw/master/update/en-US/changelog.md"
You can’t perform that action at this time.
0 commit comments