Question #231661 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/231661
Zed Zulu posted a new comment:
So I know it's technically deprecated, but it seems there's a typo in
Env.getOS()
/**
* use Settings.isWindows .isMac .isLinux instead
* @return the OS.XXX
* @deprecated use the Settings features
*/
@Deprecated
public static OS getOS() {
if (Settings.isWindows()) {
return OS.WINDOWS;
} else if (Settings.isMac()) {
return OS.MAC;
} else if (Settings.isLinux()) {
return OS.MAC;
} else {
return OS.NOT_SUPPORTED;
}
}
It returns OS.MAC for when it's actually supposed to be Windows. Seems
like a typo?
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.
_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help : https://help.launchpad.net/ListHelp