Detect-It-Easy/db/MSDOS/_MSDOS.0.sg
2026-05-25 21:03:46 +03:00

20 lines
No EOL
474 B
JavaScript
Executable file

// Detect It Easy: detection rule file
// Author: horsicq <horsicq@gmail.com>
meta("operation system", "MS-DOS");
function detect() {
if (MSDOS.isVerbose()) {
sName = MSDOS.getOperationSystemName();
sVersion = MSDOS.getOperationSystemVersion();
sOptions = MSDOS.getOperationSystemOptions();
if (sName === "Unknown") {
sName = "DOS-like";
}
bDetected = true;
}
return result();
}