Skip to content

Commit

Permalink
Revert "stop scanning game instance folder for VLC binaries"
Browse files Browse the repository at this point in the history
This reverts commit 31fd901.
  • Loading branch information
SrRapero720 committed Jun 16, 2024
1 parent 79055e5 commit 3963b02
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
package me.srrapero720.watermedia.api.config.support;

import me.srrapero720.watermedia.WaterMedia;
import uk.co.caprica.vlcj.discovery.provider.DiscoveryDirectoryProvider;

public class CustomDirectoryProvider implements DiscoveryDirectoryProvider {
@Override
public int priority() {
return 5;
}

@Override
public boolean supported() {
return true;
}

@Override
public String[] directories() {
return new String[] {WaterMedia.getLoader().tempDir().resolve("videolan").toAbsolutePath().toString()};
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
me.srrapero720.watermedia.api.config.support.CustomDirectoryProvider

0 comments on commit 3963b02

Please sign in to comment.