File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -184,16 +184,7 @@ function Install-ToEditor($idx) {
184184 $ErrorActionPreference = " Stop"
185185
186186 if ($targetScheme ) {
187- $processName = switch ($editorCmd ) {
188- " code" { " Code" }
189- " code-insiders" { " Code - Insiders" }
190- " codium" { " VSCodium" }
191- " cursor" { " Cursor" }
192- " agy-ide" { " Antigravity" }
193- default { $editorCmd }
194- }
195- Get-Process - Name $processName - ErrorAction SilentlyContinue | Stop-Process - Force
196- Write-Host " Updated successfully! Restart extensions for changes to take effect."
187+ Write-Host " Updated successfully! Please reload the window or restart the editor for changes to take effect."
197188 } else {
198189 Write-Host " Successfully installed to $editorName !"
199190 }
Original file line number Diff line number Diff line change @@ -195,14 +195,7 @@ install_to_editor() {
195195 $editor_cmd --install-extension " $VSIX_FILE " --force > /dev/null 2>&1
196196
197197 if [ -n " $TARGET_SCHEME " ]; then
198- case " $editor_cmd " in
199- " code" ) pkill -f " Visual Studio Code" || pkill -x code || killall code ;;
200- " code-insiders" ) pkill -f " Visual Studio Code - Insiders" || pkill -x code-insiders || killall code-insiders ;;
201- " codium" ) pkill -f " VSCodium" || pkill -x codium || killall codium ;;
202- " cursor" ) pkill -f " Cursor" || pkill -x cursor || killall cursor ;;
203- " agy-ide" ) pkill -f " Antigravity" || pkill -x agy-ide || killall agy-ide ;;
204- esac > /dev/null 2>&1
205- echo " Updated successfully! Restart editor for changes to take effect."
198+ echo " Updated successfully! Please reload the window or restart the editor for changes to take effect."
206199 else
207200 echo " Successfully installed to $editor_name !"
208201 fi
You can’t perform that action at this time.
0 commit comments