mirror of
				https://github.com/We-Dont-Byte/Mind_Reader.git
				synced 2025-02-04 10:38:42 +00:00 
			
		
		
		
	install: hotpatch
Fixes Visual Studio Build Tools installation
This commit is contained in:
		@@ -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"
 | 
			
		||||
            },
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user