We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a10770c commit 9691c2dCopy full SHA for 9691c2d
dk-installer.py
@@ -2486,11 +2486,11 @@ def get_installer_instance():
2486
# Show the menu when running from the Windows .exe without arguments
2487
if getattr(sys, "frozen", False) and len(sys.argv) == 1:
2488
try:
2489
- output = subprocess.check_output('systeminfo | findstr /B /C:"OS Name"', shell=True, text=True)
+ windows_edition = platform.win32_edition()
2490
except Exception:
2491
pass
2492
else:
2493
- if "Pro" not in output:
+ if windows_edition == "Core":
2494
print("\nWARNING: Your Windows edition is not compatible with Docker.")
2495
2496
show_menu(installer)
0 commit comments