mirror of
				https://github.com/containers/podman.git
				synced 2025-11-04 08:56:05 +08:00 
			
		
		
		
	Macs no longer support QEMU as a provider, build tag it out. Signed-off-by: Ashley Cui <acui@redhat.com>
		
			
				
	
	
		
			20 lines
		
	
	
		
			259 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			259 B
		
	
	
	
		
			Go
		
	
	
	
	
	
//go:build windows
 | 
						|
 | 
						|
package qemu
 | 
						|
 | 
						|
import (
 | 
						|
	"os"
 | 
						|
)
 | 
						|
 | 
						|
func getRuntimeDir() (string, error) {
 | 
						|
	tmpDir, ok := os.LookupEnv("TEMP")
 | 
						|
	if !ok {
 | 
						|
		tmpDir = os.Getenv("LOCALAPPDATA") + "\\Temp"
 | 
						|
	}
 | 
						|
	return tmpDir, nil
 | 
						|
}
 | 
						|
 | 
						|
func useNetworkRecover() bool {
 | 
						|
	return false
 | 
						|
}
 |