mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-09 14:49:32 +00:00
Merge pull request #5068 from esaunders/5339-appveyor-jna
See if setting jna.nosys to true fixes our AppVeyor build problem.
This commit is contained in:
commit
41116e63b3
@ -299,6 +299,10 @@ public class Installer extends ModuleInstall {
|
|||||||
* initialized later.
|
* initialized later.
|
||||||
*/
|
*/
|
||||||
private static void addGstreamerPathsToEnv() {
|
private static void addGstreamerPathsToEnv() {
|
||||||
|
if (System.getProperty("jna.nosys") == null) {
|
||||||
|
System.setProperty("jna.nosys", "true");
|
||||||
|
}
|
||||||
|
|
||||||
Path gstreamerPath = InstalledFileLocator.getDefault().locate("gstreamer", Installer.class.getPackage().getName(), false).toPath();
|
Path gstreamerPath = InstalledFileLocator.getDefault().locate("gstreamer", Installer.class.getPackage().getName(), false).toPath();
|
||||||
|
|
||||||
if (gstreamerPath == null) {
|
if (gstreamerPath == null) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user