File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 11[package ]
22name = " rl2-launcher-ui"
3- version = " 1.0.1 "
3+ version = " 1.0.2 "
44edition = " 2021"
55
66# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Original file line number Diff line number Diff line change 11[package ]
22name = " rl2-launcher"
3- version = " 1.0.1 "
3+ version = " 1.0.2 "
44description = " A Rogue Legacy 2 launcher for Vanilla and RL2.ModLoader"
55authors = [" TacoConKvass (RL2.API Team)" ]
66edition = " 2021"
Original file line number Diff line number Diff line change @@ -161,8 +161,6 @@ async fn update_modloader() {
161161 if let Ok ( mut process) = std:: process:: Command :: new ( "cmd" )
162162 . current_dir ( "/" )
163163 . stdin ( std:: process:: Stdio :: piped ( ) )
164- . stderr ( std:: process:: Stdio :: piped ( ) )
165- . stdout ( std:: process:: Stdio :: piped ( ) )
166164 . spawn ( )
167165 {
168166 if let Some ( stdin) = process. stdin
@@ -172,10 +170,12 @@ async fn update_modloader() {
172170 let _ = stdin. write_all ( b"curl -OL https://github.com/RL2-API/RL2.ModLoader/releases/latest/download/RL2.ModLoader.tar.gz\n " ) ;
173171 let _ = stdin. write_all ( b"mkdir rl2-ml\n " ) ;
174172 let _ = stdin. write_all ( b"tar -xzvf RL2.ModLoader.tar.gz -C rl2-ml\n " ) ;
175- let _ = stdin. write_all ( b"start rl2-ml/RL2.ModLoader.Installer.exe\n " ) ;
173+ let _ = stdin. write_all ( b"cd rl2-ml\n " ) ;
174+ let _ = stdin. write_all ( b"RL2.ModLoader.Installer.exe\n " ) ;
175+ let _ = stdin. write_all ( b"cd ..\n " ) ;
176176 let _ = stdin. write_all ( b"del RL2.ModLoader.tar.gz\n " ) ;
177- let _ = stdin. write_all ( b"del /q rl2-ml\n " ) ;
178-
177+ let _ = stdin. write_all ( b"del /q /s rl2-ml\n " ) ;
178+ let _ = stdin . write_all ( b"exit \n " ) ;
179179 let _ = process. wait_with_output ( ) ;
180180 }
181181 }
Original file line number Diff line number Diff line change 11{
22 "$schema" : " https://schema.tauri.app/config/2" ,
33 "productName" : " rl2-launcher" ,
4- "version" : " 1.0.1 " ,
4+ "version" : " 1.0.2 " ,
55 "identifier" : " com.rl2-launcher.app" ,
66 "build" : {
77 "beforeDevCommand" : " trunk serve" ,
You can’t perform that action at this time.
0 commit comments