diff --git a/devTools/scripts/FCHostInstallAndRun.js b/devTools/scripts/FCHostInstallAndRun.js
index 7184a331c5111e1a66167e6c6ac78659ce7528be..96a3e8d27684dc20bdd685f9bd5daaf8b39ffad0 100644
--- a/devTools/scripts/FCHostInstallAndRun.js
+++ b/devTools/scripts/FCHostInstallAndRun.js
@@ -23,7 +23,7 @@ let windowsLink = "https://mega.nz/file/AFhTxLxR#fQgZFswJHVLpLlY5BzhTPmUKtmISeHd
 
 let wineExists = false;
 try {
-	if (execSync("command -v wine").toString().trim() !== "") { wineExists = true; }
+	if (process.platform !== "win32" && execSync("command -v wine").toString().trim() !== "") { wineExists = true; }
 } catch (e) {
 	// fail silently
 	// console.log(e);
@@ -76,14 +76,14 @@ if (
 		if (choice === "Yes") {
 			// download FCHost
 			const file = File.fromURL(megaLink);
-	
+
 			// @ts-ignore
 			await file.loadAttributes();
 			console.log(`Downloading ${file.name} with a size of ${file.size} bytes`);
-	
+
 			// if zipLocation exists then remove it
 			jetpack.remove(zipLocation);
-	
+
 			// @ts-ignore
 			const data = await file.downloadBuffer();
 			// check that buffer size is the same as file.size
@@ -93,7 +93,7 @@ if (
 				process.exit();
 			}
 			jetpack.write(zipLocation, data, {atomic: true});
-	
+
 			// create settings.FCHostPath directory
 			if (jetpack.exists(settings.FCHostPath) === "file") {
 				// I don't know how we got both a folder and a file with the same name, but that is invalid on Windows