Windows is the worst OS ever

This commit is contained in:
AlexSSD7 2023-08-30 14:59:27 +02:00
commit c31f193096
3 changed files with 8 additions and 2 deletions

View file

@ -18,3 +18,8 @@ func prepareVMCmd(cmd *exec.Cmd) {
func terminateProcess(pid int) error {
return exec.Command("TASKKILL", "/T", "/F", "/PID", fmt.Sprint(pid)).Run()
}
func checkDeviceSeemsMounted(path string) (bool, error) {
// We do not have mount checks on Windows.
return false, nil
}