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