Has Gradle download and install the browser rather than bundle it.

This is more flexible, and I couldn't exactly upload the Firefox installation to Git before.
This commit is contained in:
Markil3
2021-08-30 17:15:36 -06:00
parent b35e2eefd8
commit 5e4ae23978
13 changed files with 536 additions and 226 deletions

View File

@@ -61,7 +61,7 @@ abstract class BuildManifest extends DefaultTask {
startupScript = files.filter(file -> file.getName().endsWith(".bat")).findFirst().get()
}
else if (Os.isFamily(Os.FAMILY_UNIX)) {
startupScript = files.filter(file -> !file.getName().endsWith(".bat")).findFirst().get()
startupScript = files.filter(file -> !file.getName().endsWith(".sh")).findFirst().get()
}
else {
throw new RuntimeException("Unknown OS family")
@@ -116,5 +116,3 @@ run.dependsOn(installAddon)
// Define the main class for the application
mainClassName = defaultPackage + '.addon.Main'
compileJava.dependsOn rootProject.bundleAddOn