您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

electron-forge-vscode-win.ps1 494B

12345678910111213141516
  1. #!/usr/bin/env pwsh
  2. $basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
  3. $exe=""
  4. if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
  5. # Fix case when both the Windows and Linux builds of Node
  6. # are installed in the same directory
  7. $exe=".exe"
  8. }
  9. # Support pipeline input
  10. if ($MyInvocation.ExpectingInput) {
  11. $input | & "$basedir/../@electron-forge/cli/script/vscode.cmd" $args
  12. } else {
  13. & "$basedir/../@electron-forge/cli/script/vscode.cmd" $args
  14. }
  15. exit $LASTEXITCODE