mirror of
https://github.com/We-Dont-Byte/Mind_Reader.git
synced 2024-11-15 03:35:59 +00:00
install: hotpatch
Fixes Visual Studio Build Tools installation
This commit is contained in:
parent
1f25b3c787
commit
3d9eac7350
@ -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")) {
|
||||
|
@ -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
|
||||
|
@ -4,9 +4,6 @@
|
||||
"Sources": [
|
||||
{
|
||||
"Packages": [
|
||||
{
|
||||
"PackageIdentifier": "Microsoft.VisualStudio.2019.BuildTools"
|
||||
},
|
||||
{
|
||||
"PackageIdentifier": "Python.Python.3"
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user