mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-12 07:56:16 +00:00
Fixed windows OS check in both VideoUtils and HashLookupSettingsPanel
This commit is contained in:
parent
d617078673
commit
8a92f843b1
@ -242,7 +242,7 @@ public class VideoUtils {
|
||||
|
||||
public static boolean canCompressAndScale(AbstractFile file) {
|
||||
|
||||
if (PlatformUtil.getOSName().toLowerCase().startsWith("Windows")) {
|
||||
if (PlatformUtil.getOSName().toLowerCase().startsWith("windows")) {
|
||||
return isVideoThumbnailSupported(file);
|
||||
}
|
||||
|
||||
|
@ -982,7 +982,7 @@ public final class HashLookupSettingsPanel extends IngestModuleGlobalSettingsPan
|
||||
* @return true if running on windows, false otherwise
|
||||
*/
|
||||
private boolean isWindows() {
|
||||
return PlatformUtil.getOSName().toLowerCase().startsWith("Windows");
|
||||
return PlatformUtil.getOSName().toLowerCase().startsWith("windows");
|
||||
}
|
||||
|
||||
@NbBundle.Messages({"HashLookupSettingsPanel.indexNsrl.text=This hash set appears to be the NSRL, it will be removed from the list.\n",
|
||||
|
Loading…
x
Reference in New Issue
Block a user