mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-13 08:26:15 +00:00
Only explicitly load zlib and libewf from windows.
This commit is contained in:
parent
f4d33150f0
commit
1e71d7397d
@ -57,7 +57,6 @@ public class Installer extends ModuleInstall {
|
||||
} catch (UnsatisfiedLinkError e) {
|
||||
logger.log(Level.SEVERE, "Error loading ms crt libraries, ", e);
|
||||
}
|
||||
}
|
||||
|
||||
try {
|
||||
System.loadLibrary("zlib");
|
||||
@ -72,21 +71,7 @@ public class Installer extends ModuleInstall {
|
||||
} catch (UnsatisfiedLinkError e) {
|
||||
logger.log(Level.SEVERE, "Error loading EWF library, ", e);
|
||||
}
|
||||
|
||||
/* We should rename the Windows dll, to remove the lib prefix.
|
||||
*/
|
||||
// try {
|
||||
// String tskLibName = null;
|
||||
// if (PlatformUtil.isWindowsOS()) {
|
||||
// tskLibName = "libtsk_jni";
|
||||
// } else {
|
||||
// tskLibName = "tsk_jni";
|
||||
// }
|
||||
// System.loadLibrary(tskLibName);
|
||||
// logger.log(Level.INFO, "TSK_JNI library loaded");
|
||||
// } catch (UnsatisfiedLinkError e) {
|
||||
// logger.log(Level.SEVERE, "Error loading tsk_jni library", e);
|
||||
// }
|
||||
}
|
||||
}
|
||||
|
||||
public Installer() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user