install: hotpatch

Fixes Visual Studio Build Tools installation
This commit is contained in:
John 2022-04-26 02:01:13 -07:00
parent 1f25b3c787
commit 3d9eac7350
3 changed files with 4 additions and 3 deletions

View File

@ -150,7 +150,10 @@ $dir = $pwd
cd $GitDir
Dry-Run "git clone 'https://github.com/We-Dont-Byte/Mind_Reader.git'"
# TODO: Change this during merge onto main branch
cd Mind_reader
Dry-Run "git checkout johnBreaux"
cd ..
# END TODO
# Run the install script
if ( -not (Test-Path "$SetupPath")) {

View File

@ -122,6 +122,7 @@ if ( ([Security.Principal.WindowsIdentity]::GetCurrent().Groups -contains 'S-1-5
# Import the packages from dependencies.json (autogenerated file, do not edit!)
Write-Host "`nInstalling packages with winget..."
Dry-Run 'winget install Microsoft.VisualStudio.2022.BuildTools --override "--wait --quiet --add Microsoft.VisualStudio.Workload.VCTools --includeRecommended"'
Dry-Run 'winget import winget/dependencies.json'
# Reload the PATH, so we can use some of those sweet new commands we just installed
Reload-Path

View File

@ -4,9 +4,6 @@
"Sources": [
{
"Packages": [
{
"PackageIdentifier": "Microsoft.VisualStudio.2019.BuildTools"
},
{
"PackageIdentifier": "Python.Python.3"
},