@@ -40,8 +40,6 @@ if (process.platform === "win32") {
4040 const msixAppDir = path . join ( process . env . LOCALAPPDATA ! , "Microsoft" , "WindowsApps" ) ;
4141 const pwshMsixPath = path . join ( msixAppDir , "Microsoft.PowerShell_8wekyb3d8bbwe" , "pwsh.exe" ) ;
4242 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" ) ;
4543
4644 successTestCases = [
4745 {
@@ -96,11 +94,6 @@ if (process.platform === "win32") {
9694 exePath : "C:\\WINDOWS\\SysWOW64\\WindowsPowerShell\\v1.0\\powershell.exe" ,
9795 displayName : "Windows PowerShell (x86)" ,
9896 supportsProperArguments : true
99- } ,
100- {
101- exePath : pwshDailyPath ,
102- displayName : "PowerShell Daily" ,
103- supportsProperArguments : true
10497 }
10598 ] ,
10699 filesystem : {
@@ -133,9 +126,6 @@ if (process.platform === "win32") {
133126 } ,
134127 "C:\\WINDOWS\\SysWOW64\\WindowsPowerShell\\v1.0" : {
135128 "powershell.exe" : "" ,
136- } ,
137- [ pwshDailyDir ] : {
138- "pwsh.exe" : "" ,
139129 }
140130 } ,
141131 } ,
@@ -487,8 +477,6 @@ if (process.platform === "win32") {
487477 }
488478 ] ;
489479} else {
490- const pwshDailyDir = path . join ( os . homedir ( ) , ".powershell-daily" ) ;
491-
492480 successTestCases = [
493481 {
494482 name : "Linux (all installations)" ,
@@ -502,41 +490,33 @@ if (process.platform === "win32") {
502490 {
503491 exePath : "/usr/bin/pwsh" ,
504492 displayName : "PowerShell" ,
505- supportsProperArguments : true
493+ supportsProperArguments : true ,
506494 } ,
507495 {
508496 exePath : "/snap/bin/pwsh" ,
509497 displayName : "PowerShell Snap" ,
510- supportsProperArguments : true
498+ supportsProperArguments : true ,
511499 } ,
512500 {
513501 exePath : "/usr/bin/pwsh-preview" ,
514502 displayName : "PowerShell Preview" ,
515- supportsProperArguments : true
503+ supportsProperArguments : true ,
516504 } ,
517505 {
518506 exePath : "/snap/bin/pwsh-preview" ,
519507 displayName : "PowerShell Preview Snap" ,
520- supportsProperArguments : true
508+ supportsProperArguments : true ,
521509 } ,
522- {
523- exePath : path . join ( pwshDailyDir , "pwsh" ) ,
524- displayName : "PowerShell Daily" ,
525- supportsProperArguments : true
526- }
527510 ] ,
528511 filesystem : {
529512 "/usr/bin" : {
530- " pwsh" : "" ,
513+ pwsh : "" ,
531514 "pwsh-preview" : "" ,
532515 } ,
533516 "/snap/bin" : {
534- " pwsh" : "" ,
517+ pwsh : "" ,
535518 "pwsh-preview" : "" ,
536519 } ,
537- [ pwshDailyDir ] : {
538- "pwsh" : ""
539- }
540520 } ,
541521 } ,
542522 {
@@ -551,47 +531,39 @@ if (process.platform === "win32") {
551531 {
552532 exePath : "/usr/local/bin/pwsh" ,
553533 displayName : "PowerShell" ,
554- supportsProperArguments : true
534+ supportsProperArguments : true ,
555535 } ,
556536 {
557537 exePath : "/opt/homebrew/bin/pwsh" ,
558538 displayName : "PowerShell (Homebrew)" ,
559- supportsProperArguments : true
539+ supportsProperArguments : true ,
560540 } ,
561541 {
562542 exePath : "/opt/homebrew/bin/pwsh-lts" ,
563543 displayName : "PowerShell LTS (Homebrew)" ,
564- supportsProperArguments : true
544+ supportsProperArguments : true ,
565545 } ,
566546 {
567547 exePath : "/usr/local/bin/pwsh-preview" ,
568548 displayName : "PowerShell Preview" ,
569- supportsProperArguments : true
549+ supportsProperArguments : true ,
570550 } ,
571551 {
572552 exePath : "/opt/homebrew/bin/pwsh-preview" ,
573553 displayName : "PowerShell Preview (Homebrew)" ,
574- supportsProperArguments : true
554+ supportsProperArguments : true ,
575555 } ,
576- {
577- exePath : path . join ( pwshDailyDir , "pwsh" ) ,
578- displayName : "PowerShell Daily" ,
579- supportsProperArguments : true
580- }
581556 ] ,
582557 filesystem : {
583558 "/usr/local/bin" : {
584- " pwsh" : "" ,
559+ pwsh : "" ,
585560 "pwsh-preview" : "" ,
586561 } ,
587562 "/opt/homebrew/bin/" : {
588- " pwsh" : "" ,
563+ pwsh : "" ,
589564 "pwsh-lts" : "" ,
590565 "pwsh-preview" : "" ,
591566 } ,
592- [ pwshDailyDir ] : {
593- "pwsh" : ""
594- }
595567 } ,
596568 } ,
597569 {
@@ -606,12 +578,12 @@ if (process.platform === "win32") {
606578 {
607579 exePath : "/usr/bin/pwsh" ,
608580 displayName : "PowerShell" ,
609- supportsProperArguments : true
581+ supportsProperArguments : true ,
610582 } ,
611583 ] ,
612584 filesystem : {
613585 "/usr/bin" : {
614- " pwsh" : "" ,
586+ pwsh : "" ,
615587 } ,
616588 } ,
617589 } ,
@@ -627,12 +599,12 @@ if (process.platform === "win32") {
627599 {
628600 exePath : "/snap/bin/pwsh" ,
629601 displayName : "PowerShell Snap" ,
630- supportsProperArguments : true
602+ supportsProperArguments : true ,
631603 } ,
632604 ] ,
633605 filesystem : {
634606 "/snap/bin" : {
635- " pwsh" : "" ,
607+ pwsh : "" ,
636608 } ,
637609 } ,
638610 } ,
@@ -648,12 +620,12 @@ if (process.platform === "win32") {
648620 {
649621 exePath : "/usr/local/bin/pwsh" ,
650622 displayName : "PowerShell" ,
651- supportsProperArguments : true
623+ supportsProperArguments : true ,
652624 } ,
653625 ] ,
654626 filesystem : {
655627 "/usr/local/bin" : {
656- " pwsh" : "" ,
628+ pwsh : "" ,
657629 } ,
658630 } ,
659631 } ,
@@ -665,19 +637,19 @@ if (process.platform === "win32") {
665637 isProcess64Bit : true ,
666638 } ,
667639 environmentVars : {
668- " USER" : "test" ,
669- " HOME" : "/Users/test" ,
640+ USER : "test" ,
641+ HOME : "/Users/test" ,
670642 } ,
671643 expectedPowerShellSequence : [
672644 {
673645 exePath : "/Users/test/.dotnet/tools/pwsh" ,
674646 displayName : ".NET Core PowerShell Global Tool" ,
675- supportsProperArguments : false
647+ supportsProperArguments : false ,
676648 } ,
677649 ] ,
678650 filesystem : {
679651 "/Users/test/.dotnet/tools" : {
680- " pwsh" : "" ,
652+ pwsh : "" ,
681653 } ,
682654 } ,
683655 } ,
@@ -689,19 +661,19 @@ if (process.platform === "win32") {
689661 isProcess64Bit : true ,
690662 } ,
691663 environmentVars : {
692- " USER" : "test" ,
693- " HOME" : "/home/test" ,
664+ USER : "test" ,
665+ HOME : "/home/test" ,
694666 } ,
695667 expectedPowerShellSequence : [
696668 {
697669 exePath : "/home/test/.dotnet/tools/pwsh" ,
698670 displayName : ".NET Core PowerShell Global Tool" ,
699- supportsProperArguments : false
671+ supportsProperArguments : false ,
700672 } ,
701673 ] ,
702674 filesystem : {
703675 "/home/test/.dotnet/tools" : {
704- " pwsh" : "" ,
676+ pwsh : "" ,
705677 } ,
706678 } ,
707679 } ,
0 commit comments