@@ -40,8 +40,6 @@ if (process.platform === "win32") {
40
40
const msixAppDir = path . join ( process . env . LOCALAPPDATA ! , "Microsoft" , "WindowsApps" ) ;
41
41
const pwshMsixPath = path . join ( msixAppDir , "Microsoft.PowerShell_8wekyb3d8bbwe" , "pwsh.exe" ) ;
42
42
const pwshPreviewMsixPath = path . join ( msixAppDir , "Microsoft.PowerShellPreview_8wekyb3d8bbwe" , "pwsh.exe" ) ;
43
- const pwshDailyDir = path . join ( process . env . LOCALAPPDATA ! , "Microsoft" , "powershell-daily" ) ;
44
- const pwshDailyPath = path . join ( pwshDailyDir , "pwsh.exe" ) ;
45
43
46
44
successTestCases = [
47
45
{
@@ -133,9 +131,6 @@ if (process.platform === "win32") {
133
131
} ,
134
132
"C:\\WINDOWS\\SysWOW64\\WindowsPowerShell\\v1.0" : {
135
133
"powershell.exe" : "" ,
136
- } ,
137
- [ pwshDailyDir ] : {
138
- "pwsh.exe" : "" ,
139
134
}
140
135
} ,
141
136
} ,
@@ -487,8 +482,6 @@ if (process.platform === "win32") {
487
482
}
488
483
] ;
489
484
} else {
490
- const pwshDailyDir = path . join ( os . homedir ( ) , ".powershell-daily" ) ;
491
-
492
485
successTestCases = [
493
486
{
494
487
name : "Linux (all installations)" ,
@@ -502,41 +495,33 @@ if (process.platform === "win32") {
502
495
{
503
496
exePath : "/usr/bin/pwsh" ,
504
497
displayName : "PowerShell" ,
505
- supportsProperArguments : true
498
+ supportsProperArguments : true ,
506
499
} ,
507
500
{
508
501
exePath : "/snap/bin/pwsh" ,
509
502
displayName : "PowerShell Snap" ,
510
- supportsProperArguments : true
503
+ supportsProperArguments : true ,
511
504
} ,
512
505
{
513
506
exePath : "/usr/bin/pwsh-preview" ,
514
507
displayName : "PowerShell Preview" ,
515
- supportsProperArguments : true
508
+ supportsProperArguments : true ,
516
509
} ,
517
510
{
518
511
exePath : "/snap/bin/pwsh-preview" ,
519
512
displayName : "PowerShell Preview Snap" ,
520
- supportsProperArguments : true
513
+ supportsProperArguments : true ,
521
514
} ,
522
- {
523
- exePath : path . join ( pwshDailyDir , "pwsh" ) ,
524
- displayName : "PowerShell Daily" ,
525
- supportsProperArguments : true
526
- }
527
515
] ,
528
516
filesystem : {
529
517
"/usr/bin" : {
530
- " pwsh" : "" ,
518
+ pwsh : "" ,
531
519
"pwsh-preview" : "" ,
532
520
} ,
533
521
"/snap/bin" : {
534
- " pwsh" : "" ,
522
+ pwsh : "" ,
535
523
"pwsh-preview" : "" ,
536
524
} ,
537
- [ pwshDailyDir ] : {
538
- "pwsh" : ""
539
- }
540
525
} ,
541
526
} ,
542
527
{
@@ -551,47 +536,39 @@ if (process.platform === "win32") {
551
536
{
552
537
exePath : "/usr/local/bin/pwsh" ,
553
538
displayName : "PowerShell" ,
554
- supportsProperArguments : true
539
+ supportsProperArguments : true ,
555
540
} ,
556
541
{
557
542
exePath : "/opt/homebrew/bin/pwsh" ,
558
543
displayName : "PowerShell (Homebrew)" ,
559
- supportsProperArguments : true
544
+ supportsProperArguments : true ,
560
545
} ,
561
546
{
562
547
exePath : "/opt/homebrew/bin/pwsh-lts" ,
563
548
displayName : "PowerShell LTS (Homebrew)" ,
564
- supportsProperArguments : true
549
+ supportsProperArguments : true ,
565
550
} ,
566
551
{
567
552
exePath : "/usr/local/bin/pwsh-preview" ,
568
553
displayName : "PowerShell Preview" ,
569
- supportsProperArguments : true
554
+ supportsProperArguments : true ,
570
555
} ,
571
556
{
572
557
exePath : "/opt/homebrew/bin/pwsh-preview" ,
573
558
displayName : "PowerShell Preview (Homebrew)" ,
574
- supportsProperArguments : true
559
+ supportsProperArguments : true ,
575
560
} ,
576
- {
577
- exePath : path . join ( pwshDailyDir , "pwsh" ) ,
578
- displayName : "PowerShell Daily" ,
579
- supportsProperArguments : true
580
- }
581
561
] ,
582
562
filesystem : {
583
563
"/usr/local/bin" : {
584
- " pwsh" : "" ,
564
+ pwsh : "" ,
585
565
"pwsh-preview" : "" ,
586
566
} ,
587
567
"/opt/homebrew/bin/" : {
588
- " pwsh" : "" ,
568
+ pwsh : "" ,
589
569
"pwsh-lts" : "" ,
590
570
"pwsh-preview" : "" ,
591
571
} ,
592
- [ pwshDailyDir ] : {
593
- "pwsh" : ""
594
- }
595
572
} ,
596
573
} ,
597
574
{
@@ -606,12 +583,12 @@ if (process.platform === "win32") {
606
583
{
607
584
exePath : "/usr/bin/pwsh" ,
608
585
displayName : "PowerShell" ,
609
- supportsProperArguments : true
586
+ supportsProperArguments : true ,
610
587
} ,
611
588
] ,
612
589
filesystem : {
613
590
"/usr/bin" : {
614
- " pwsh" : "" ,
591
+ pwsh : "" ,
615
592
} ,
616
593
} ,
617
594
} ,
@@ -627,12 +604,12 @@ if (process.platform === "win32") {
627
604
{
628
605
exePath : "/snap/bin/pwsh" ,
629
606
displayName : "PowerShell Snap" ,
630
- supportsProperArguments : true
607
+ supportsProperArguments : true ,
631
608
} ,
632
609
] ,
633
610
filesystem : {
634
611
"/snap/bin" : {
635
- " pwsh" : "" ,
612
+ pwsh : "" ,
636
613
} ,
637
614
} ,
638
615
} ,
@@ -648,12 +625,12 @@ if (process.platform === "win32") {
648
625
{
649
626
exePath : "/usr/local/bin/pwsh" ,
650
627
displayName : "PowerShell" ,
651
- supportsProperArguments : true
628
+ supportsProperArguments : true ,
652
629
} ,
653
630
] ,
654
631
filesystem : {
655
632
"/usr/local/bin" : {
656
- " pwsh" : "" ,
633
+ pwsh : "" ,
657
634
} ,
658
635
} ,
659
636
} ,
@@ -665,19 +642,19 @@ if (process.platform === "win32") {
665
642
isProcess64Bit : true ,
666
643
} ,
667
644
environmentVars : {
668
- " USER" : "test" ,
669
- " HOME" : "/Users/test" ,
645
+ USER : "test" ,
646
+ HOME : "/Users/test" ,
670
647
} ,
671
648
expectedPowerShellSequence : [
672
649
{
673
650
exePath : "/Users/test/.dotnet/tools/pwsh" ,
674
651
displayName : ".NET Core PowerShell Global Tool" ,
675
- supportsProperArguments : false
652
+ supportsProperArguments : false ,
676
653
} ,
677
654
] ,
678
655
filesystem : {
679
656
"/Users/test/.dotnet/tools" : {
680
- " pwsh" : "" ,
657
+ pwsh : "" ,
681
658
} ,
682
659
} ,
683
660
} ,
@@ -689,19 +666,19 @@ if (process.platform === "win32") {
689
666
isProcess64Bit : true ,
690
667
} ,
691
668
environmentVars : {
692
- " USER" : "test" ,
693
- " HOME" : "/home/test" ,
669
+ USER : "test" ,
670
+ HOME : "/home/test" ,
694
671
} ,
695
672
expectedPowerShellSequence : [
696
673
{
697
674
exePath : "/home/test/.dotnet/tools/pwsh" ,
698
675
displayName : ".NET Core PowerShell Global Tool" ,
699
- supportsProperArguments : false
676
+ supportsProperArguments : false ,
700
677
} ,
701
678
] ,
702
679
filesystem : {
703
680
"/home/test/.dotnet/tools" : {
704
- " pwsh" : "" ,
681
+ pwsh : "" ,
705
682
} ,
706
683
} ,
707
684
} ,
0 commit comments