@@ -41,18 +41,6 @@ pub fn smashline_install() {
41
41
fighters:: install ( ) ;
42
42
}
43
43
44
- #[ cfg( not( feature = "main_nro" ) ) ]
45
- #[ export_name = "hdr_delayed_install" ]
46
- pub fn delayed_install ( ) {
47
- fighters:: delayed_install ( ) ;
48
- }
49
-
50
- #[ cfg( feature = "add_status" ) ]
51
- extern "Rust" {
52
- #[ link_name = "hdr_delayed_install" ]
53
- fn delayed_install ( ) ;
54
- }
55
-
56
44
#[ cfg( feature = "main_nro" ) ]
57
45
#[ export_name = "hdr_is_available" ]
58
46
pub fn is_available ( ) -> bool {
@@ -407,7 +395,6 @@ pub extern "C" fn main() {
407
395
//game_end,
408
396
//game_exit
409
397
) ;
410
- fighters:: install ( ) ;
411
398
}
412
399
413
400
#[ cfg( not( feature = "runtime" ) ) ]
@@ -423,22 +410,6 @@ pub extern "C" fn main() {
423
410
}
424
411
425
412
fighters:: install ( ) ;
426
- #[ cfg( all( not( feature = "add_status" ) , feature = "main_nro" ) ) ]
427
- {
428
- if !( delayed_install as * const ( ) ) . is_null ( ) {
429
- unsafe {
430
- delayed_install ( ) ;
431
- }
432
- }
433
- }
434
-
435
- #[ cfg( all(
436
- feature = "add_status" ,
437
- not( all( not( feature = "add_status" ) , feature = "main_nro" ) )
438
- ) ) ]
439
- {
440
- fighters:: delayed_install ( ) ;
441
- }
442
413
443
414
#[ cfg( feature = "updater" ) ]
444
415
{
@@ -483,18 +454,18 @@ pub fn setup_hid_hdr() {
483
454
484
455
#[ cfg( feature = "main_nro" ) ]
485
456
pub fn quick_validate_install ( ) {
486
- let has_smashline_hook = Path :: new (
487
- "sd:/atmosphere/contents/01006a800016e000/romfs/skyline/plugins/libsmashline_hook .nro" ,
457
+ let has_smashline_plugin = Path :: new (
458
+ "sd:/atmosphere/contents/01006a800016e000/romfs/skyline/plugins/libsmashline_plugin .nro" ,
488
459
)
489
460
. is_file ( ) ;
490
- if has_smashline_hook {
491
- println ! ( "libsmashline_hook .nro is present" ) ;
461
+ if has_smashline_plugin {
462
+ println ! ( "libsmashline_plugin .nro is present" ) ;
492
463
} else {
493
464
if is_on_ryujinx ( ) {
494
- println ! ( "No libsmashline_hook .nro found! We will likely crash." ) ;
465
+ println ! ( "No libsmashline_plugin .nro found! We will likely crash." ) ;
495
466
} else {
496
467
skyline_web:: dialog_ok:: DialogOk :: ok (
497
- "No libsmashline_hook .nro found! We will likely crash." ,
468
+ "No libsmashline_plugin .nro found! We will likely crash." ,
498
469
) ;
499
470
}
500
471
}
@@ -526,25 +497,6 @@ pub fn quick_validate_install() {
526
497
}
527
498
}
528
499
529
- let has_smashline_development_hook = Path :: new ( "sd:/atmosphere/contents/01006a800016e000/romfs/skyline/plugins/libsmashline_hook_development.nro" ) . is_file ( ) ;
530
- if has_smashline_development_hook {
531
- if is_on_ryujinx ( ) {
532
- println ! ( "libsmashline_hook_development.nro found! This will conflict with hdr! Expect a crash soon." ) ;
533
- } else {
534
- let should_delete = skyline_web:: dialog:: Dialog :: yes_no ( "libsmashline_hook_development.nro found! This will conflict with hdr! Would you like to delete it?" ) ;
535
- if should_delete {
536
- fs:: remove_file ( "sd:/atmosphere/contents/01006a800016e000/romfs/skyline/plugins/libsmashline_hook_development.nro" ) ;
537
- unsafe {
538
- skyline:: nn:: oe:: RequestToRelaunchApplication ( ) ;
539
- }
540
- } else {
541
- skyline_web:: dialog_ok:: DialogOk :: ok (
542
- "Warning, we will likely crash soon because of this conflict." ,
543
- ) ;
544
- }
545
- }
546
- }
547
-
548
500
let has_development_nro =
549
501
Path :: new ( "sd:/atmosphere/contents/01006a800016e000/romfs/smashline/development.nro" )
550
502
. is_file ( ) ;
0 commit comments