File tree Expand file tree Collapse file tree 1 file changed +7
-11
lines changed Expand file tree Collapse file tree 1 file changed +7
-11
lines changed Original file line number Diff line number Diff line change @@ -7,14 +7,10 @@ call "%~dp0\run_unzip.cmd" PowerShellEditorServices.zip
7
7
del PowerShellEditorServices.zip
8
8
if not exist " %~dp0 session" mkdir " %~dp0 session"
9
9
10
- echo @echo off^
11
-
12
- setlocal^
13
-
14
- set PSES_BUNDLE_PATH = %% ~dp0^
15
-
16
- set SESSION_TEMP_PATH = %% ~dp0session^
17
-
18
- powershell -NoLogo -NoProfile -ExecutionPolicy RemoteSigned -Command ^ " %% PSES_BUNDLE_PATH%% \PowerShellEditorServices\Start-EditorServices.ps1 -BundledModulesPath '%% PSES_BUNDLE_PATH%% ' -LogPath '%% SESSION_TEMP_PATH%% \logs.log' -SessionDetailsPath '%% SESSION_TEMP_PATH%% \session.json' -FeatureFlags @() -AdditionalModules @() -HostName 'My Client' -HostProfileId 'myclient' -HostVersion 1.0.0 -Stdio -LogLevel Normal^" ^
19
-
20
- > powershell-languageserver.cmd
10
+ (
11
+ ECHO @echo off
12
+ ECHO setlocal
13
+ ECHO set PSES_BUNDLE_PATH=%% ~dp0
14
+ ECHO set SESSION_TEMP_PATH=%% ~dp0session
15
+ ECHO pwsh -NoLogo -NoProfile -ExecutionPolicy RemoteSigned -Command " %% PSES_BUNDLE_PATH%% \PowerShellEditorServices\Start-EditorServices.ps1 -BundledModulesPath '%% PSES_BUNDLE_PATH%% ' -LogPath '%% SESSION_TEMP_PATH%% \logs.log' -SessionDetailsPath '%% SESSION_TEMP_PATH%% \session.json' -FeatureFlags @() -AdditionalModules @() -HostName 'My Client' -HostProfileId 'myclient' -HostVersion 1.0.0 -Stdio -LogLevel Normal"
16
+ ) > powershell-languageserver.cmd
You can’t perform that action at this time.
0 commit comments