Skip to content

Commit

Permalink
Just Internal Stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkusTieger committed Jul 1, 2022
1 parent 12290a2 commit 3f887b6
Show file tree
Hide file tree
Showing 7 changed files with 35 additions and 9 deletions.
8 changes: 4 additions & 4 deletions .classpath
Original file line number Diff line number Diff line change
Expand Up @@ -14,23 +14,23 @@
</classpathentry>
<classpathentry kind="src" output="bin/test" path="src/test/java">
<attributes>
<attribute name="test" value="true"/>
<attribute name="gradle_scope" value="test"/>
<attribute name="gradle_used_by_scope" value="test"/>
<attribute name="test" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="src" output="bin/test" path="src/test/resources">
<attributes>
<attribute name="test" value="true"/>
<attribute name="gradle_scope" value="test"/>
<attribute name="gradle_used_by_scope" value="test"/>
<attribute name="test" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-17/"/>
<classpathentry kind="con" path="org.eclipse.buildship.core.gradleclasspathcontainer">
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-17/">
<attributes>
<attribute name="module" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.buildship.core.gradleclasspathcontainer"/>
<classpathentry kind="output" path="bin/default"/>
</classpath>
2 changes: 1 addition & 1 deletion .project
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>tigxa</name>
<comment>Project Tigxa Browser created by Buildship.</comment>
<comment></comment>
<projects>
</projects>
<buildSpec>
Expand Down
11 changes: 11 additions & 0 deletions .settings/org.eclipse.buildship.core.prefs
Original file line number Diff line number Diff line change
@@ -1,2 +1,13 @@
arguments=
auto.sync=true
build.scans.enabled=false
connection.gradle.distribution=GRADLE_DISTRIBUTION(WRAPPER)
connection.project.dir=
eclipse.preferences.version=1
gradle.user.home=
java.home=
jvm.arguments=
offline.mode=false
override.workspace.settings=true
show.console.view=true
show.executions.view=true
13 changes: 13 additions & 0 deletions .settings/org.eclipse.jdt.core.prefs
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#
#Tue May 24 15:24:05 CEST 2022
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.codegen.targetPlatform=17
org.eclipse.jdt.core.compiler.source=17
org.eclipse.jdt.core.compiler.debug.localVariable=generate
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
org.eclipse.jdt.core.compiler.compliance=17
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
1 change: 1 addition & 0 deletions bin/.gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
/main/
/test/
/default/
3 changes: 2 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,11 @@ plugins {
id 'org.openjfx.javafxplugin' version '0.0.12'
id 'com.github.johnrengelman.shadow' version '7.0.0'
id 'maven-publish'
id 'eclipse'
}

group 'de.MarkusTieger'
version '1.29.0'
version '1.29.1'

String dependencyOS = System.getProperty("os.name")
String dependencyArch = System.getProperty("os.arch")
Expand Down
6 changes: 3 additions & 3 deletions src/main/java/de/MarkusTieger/Tigxa/update/Updater.java
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ public boolean checkJar() {
public String getOS(){
String testlib = "jfxmedia";

if(Browser.class.getResource("/libjfxmedia.so") != null) return "linux";
if(Browser.class.getResource("/jfxmedia.dll") != null) return "win";
if(Browser.class.getResource("/libjfxmedia.dylib") != null) return "mac";
if(Browser.class.getResource("/lib" + testlib + ".so") != null) return "linux";
if(Browser.class.getResource("/" + testlib + ".dll") != null) return "win";
if(Browser.class.getResource("/lib" + testlib + ".dylib") != null) return "mac";

return "linux";
}
Expand Down

0 comments on commit 3f887b6

Please sign in to comment.