installer fix

This commit is contained in:
Greg DiCristofaro 2022-03-02 13:05:25 -05:00
parent 958a37a152
commit 77577f34fd

View File

@ -301,7 +301,7 @@ public class Installer extends ModuleInstall {
}
Path gstreamerBasePath = Paths.get(gstreamerPath.toString(), "1.0", arch);
// Path gstreamerBinPath = Paths.get(gstreamerBasePath.toString(), "bin");
Path gstreamerBinPath = Paths.get(gstreamerBasePath.toString(), "bin");
Path gstreamerLibPath = Paths.get(gstreamerBasePath.toString(), "lib", "gstreamer-1.0");
// Update the PATH environment variable to contain the GStreamer
@ -316,8 +316,7 @@ public class Installer extends ModuleInstall {
* binaries associated with the current release are found rather
* than binaries associated with an earlier version of Autopsy.
*/
// k32.SetEnvironmentVariable("PATH", gstreamerBinPath.toString() + File.pathSeparator + gstreamerLibPath.toString() + path);
k32.SetEnvironmentVariable("PATH", gstreamerLibPath.toString() + path);
k32.SetEnvironmentVariable("PATH", gstreamerBinPath.toString() + File.pathSeparator + gstreamerLibPath.toString() + path);
}
}
}