GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — bengine/workspace_ps.ps1 at vc_win · magicmoremagic/bengine

Expand file tree

/

workspace_ps.ps1

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
41 lines (33 loc) · 1.2 KB
/

workspace_ps.ps1

Copy path

File metadata and controls

41 lines (33 loc) · 1.2 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
Push-Location $PSScriptRoot
#Install-Module VSSetup -Scope CurrentUser
$_vs2017 = $(try { Get-VSSetupInstance -All | Select-VSSetupInstance -Require 'Microsoft.VisualStudio.Workload.NativeDesktop' } catch { $null })
if ($_vs2017) {
$_vcvarsall = $_vs2017.InstallationPath + '\VC\Auxiliary\Build\vcvarsall.bat'
}
if (-not ($_vcvarsall -and (Test-Path $_vcvarsall))) {
if ($env:VSINSTALLDIR) {
$_vcvarsall = $env:VSINSTALLDIR + 'VC\vcvarsall.bat'
} else {
$_vcvarsall = 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat'
}
if (-not ($_vcvarsall -and (Test-Path $_vcvarsall))) {
$_vcvarsall = 'C:\Program Files (x86)\Microsoft Visual C++ Build Tools\vcbuildtools.bat'
if (-not ($_vcvarsall -and (Test-Path $_vcvarsall))) {
Write-Host 'Failed to locate vcvarsall.bat'
pause
exit 1
}
}
}
$_oldpath = $ENV:Path
cmd /s /c "`"$($_vcvarsall)`" x86_x64 & set" | ForEach-Object {
if ($_ -match "=") {
$v = $_.Split("=")
Set-Item -force -path "ENV:\$($v[0])" -value "$($v[1])"
}
}
$ENV:Path = "$($PSScriptRoot)\stage;$($PSScriptRoot)\bin;$($ENV:Path)"
#Clear-Host
powershell -nologo
$ENV:Path = $_oldpath
Pop-Location
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.