File tree 3 files changed +1
-20
lines changed
packages/app-lib/src/api/profile
3 files changed +1
-20
lines changed Original file line number Diff line number Diff line change @@ -151,7 +151,6 @@ fn main() {
151
151
"profile_update_managed_modrinth_version" ,
152
152
"profile_repair_managed_modrinth" ,
153
153
"profile_run" ,
154
- "profile_run_credentials" ,
155
154
"profile_kill" ,
156
155
"profile_edit" ,
157
156
"profile_edit_icon" ,
Original file line number Diff line number Diff line change @@ -28,7 +28,6 @@ pub fn init<R: tauri::Runtime>() -> tauri::plugin::TauriPlugin<R> {
28
28
profile_update_managed_modrinth_version,
29
29
profile_repair_managed_modrinth,
30
30
profile_run,
31
- profile_run_credentials,
32
31
profile_kill,
33
32
profile_edit,
34
33
profile_edit_icon,
@@ -256,22 +255,6 @@ pub async fn profile_run(path: &str) -> Result<ProcessMetadata> {
256
255
Ok ( process)
257
256
}
258
257
259
- // Run Minecraft using a profile using chosen credentials
260
- // Returns the UUID, which can be used to poll
261
- // for the actual Child in the state.
262
- // invoke('plugin:profile|profile_run_credentials', {path, credentials})')
263
- #[ tauri:: command]
264
- pub async fn profile_run_credentials (
265
- path : & str ,
266
- credentials : Credentials ,
267
- ) -> Result < ProcessMetadata > {
268
- let process =
269
- profile:: run_credentials ( path, & credentials, & QuickPlayType :: None )
270
- . await ?;
271
-
272
- Ok ( process)
273
- }
274
-
275
258
#[ tauri:: command]
276
259
pub async fn profile_kill ( path : & str ) -> Result < ( ) > {
277
260
profile:: kill ( path) . await ?;
Original file line number Diff line number Diff line change @@ -642,10 +642,9 @@ pub async fn run(
642
642
}
643
643
644
644
/// Run Minecraft using a profile, and credentials for authentication
645
- /// Returns Arc pointer to RwLock to Child
646
645
#[ tracing:: instrument( skip( credentials) ) ]
647
646
648
- pub async fn run_credentials (
647
+ async fn run_credentials (
649
648
path : & str ,
650
649
credentials : & Credentials ,
651
650
quick_play_type : & QuickPlayType ,
You can’t perform that action at this time.
0 commit comments