File tree 1 file changed +0
-28
lines changed
1 file changed +0
-28
lines changed Original file line number Diff line number Diff line change @@ -113,34 +113,6 @@ export class SessionManager implements Middleware {
113
113
114
114
this . powerShellExePath = this . getPowerShellExePath ( ) ;
115
115
116
- // Check for OpenSSL dependency on macOS when running PowerShell Core alpha. Look for the default
117
- // Homebrew installation path and if that fails check the system-wide library path.
118
- if ( os . platform ( ) === "darwin" && this . getPowerShellVersionLabel ( ) === "alpha" ) {
119
- if ( ! ( utils . checkIfFileExists ( "/usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib" ) &&
120
- utils . checkIfFileExists ( "/usr/local/opt/openssl/lib/libssl.1.0.0.dylib" ) ) &&
121
- ! ( utils . checkIfFileExists ( "/usr/local/lib/libcrypto.1.0.0.dylib" ) &&
122
- utils . checkIfFileExists ( "/usr/local/lib/libssl.1.0.0.dylib" ) ) ) {
123
- const thenable =
124
- vscode . window . showWarningMessage (
125
- "The PowerShell extension will not work without OpenSSL on macOS and OS X when using " +
126
- "PowerShell Core alpha" ,
127
- "Show Documentation" ) ;
128
-
129
- thenable . then (
130
- ( s ) => {
131
- if ( s === "Show Documentation" ) {
132
- cp . exec ( "open https://github.com/PowerShell/vscode-powershell/blob/master/docs/" +
133
- "troubleshooting.md#1-powershell-intellisense-does-not-work-cant-debug-scripts" ) ;
134
- }
135
- } ) ;
136
-
137
- // Don't continue initializing since Editor Services will not load successfully
138
- this . setSessionFailure (
139
- "Cannot start PowerShell Editor Services due to missing OpenSSL dependency." ) ;
140
- return ;
141
- }
142
- }
143
-
144
116
this . suppressRestartPrompt = false ;
145
117
146
118
if ( this . powerShellExePath ) {
You can’t perform that action at this time.
0 commit comments