aboutsummaryrefslogtreecommitdiff
path: root/pkg/machine/qemu/options_windows.go
blob: 69652ee39e68ebdbc80119839b2b9c54b6378887 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
package qemu

import (
	"os"
)

func getRuntimeDir() (string, error) {
	tmpDir, ok := os.LookupEnv("TEMP")
	if !ok {
		tmpDir = os.Getenv("LOCALAPPDATA") + "\\Temp"
	}
	return tmpDir, nil
}