Skip to content
Snippets Groups Projects
Commit 0c980d1b authored by Tobias Ullerich's avatar Tobias Ullerich
Browse files

Fix native audio manifest, settings view, library loading

parent bfb51a01
No related branches found
No related tags found
No related merge requests found
...@@ -66,6 +66,15 @@ ...@@ -66,6 +66,15 @@
</execution> </execution>
</executions> </executions>
</plugin> </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifestFile>src/main/resources/META-INF/MANIFEST.MF</manifestFile>
</archive>
</configuration>
</plugin>
</plugins> </plugins>
</build> </build>
......
Manifest-Version: 1.0
Class-Path: . nawin/jni4net.j-0.8.8.0.jar nawin/NativeAudio.j4n.jar
...@@ -32,7 +32,7 @@ public class NativeAudioSettingsViewController extends AudioHandlerViewControlle ...@@ -32,7 +32,7 @@ public class NativeAudioSettingsViewController extends AudioHandlerViewControlle
private NativeAudio audioPlayer; private NativeAudio audioPlayer;
NativeAudioSettingsViewController() { NativeAudioSettingsViewController() {
super("nawinSettings", "de/tobias/playpad/assets/win/", null); super("nawinSettings", "win", null);
testButton.setGraphic(new FontIcon(FontAwesomeType.PLAY)); testButton.setGraphic(new FontIcon(FontAwesomeType.PLAY));
......
...@@ -18,7 +18,7 @@ class WindowsAudioImplLoader extends AudioModuleLoader { ...@@ -18,7 +18,7 @@ class WindowsAudioImplLoader extends AudioModuleLoader {
override def preInit(): Unit = { override def preInit(): Unit = {
val app: App = ApplicationUtils.getApplication val app: App = ApplicationUtils.getApplication
val resourceFolder = app.getPath(PathType.LIBRARY, "Native") val resourceFolder = app.getPath(PathType.LIBRARY, "NativeAudio")
if (!app.isDebug) { if (!app.isDebug) {
if (Files.notExists(resourceFolder)) if (Files.notExists(resourceFolder))
......
Manifest-Version: 1.0
Class-Path: . NativeAudio/jni4net.j-0.8.8.0.jar NativeAudio/NativeAudio.j4n.jar
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment