From 343859840e85a3213790418dddbbbc5a4940549b Mon Sep 17 00:00:00 2001 From: Booglejr Date: Tue, 8 Feb 2022 09:56:50 -0800 Subject: [PATCH] Prepare for initial release --- build.gradle | 35 ++++++++++++++++++ .../com/booglejr/dfaify/icons/dfaify.ico | Bin 0 -> 258062 bytes 2 files changed, 35 insertions(+) create mode 100644 src/main/resources/com/booglejr/dfaify/icons/dfaify.ico diff --git a/build.gradle b/build.gradle index 570e932..06b5072 100644 --- a/build.gradle +++ b/build.gradle @@ -10,6 +10,7 @@ plugins { // Apply the application plugin to add support for building a CLI application in Java. id 'application' id 'org.openjfx.javafxplugin' version '0.0.10' + id 'org.beryx.jlink' version '2.24.4' } @@ -36,5 +37,39 @@ javafx { application { // Define the main class for the application. mainClass = 'com.booglejr.dfaify.DFAify' + mainModule = 'com.booglejr.dfaify' } +ext.os = org.gradle.internal.os.OperatingSystem.current() + +jlink{ + + jpackage { + imageName = 'DFAify' + installerName = 'DFAify' + appVersion = "1.0.0" + installerOptions = [ + '--verbose', + '--vendor', 'Justin Woodring', + '--copyright', 'Copyright 2022. Justin Woodring', + '--description', 'DFAify is a diagramming and graphical analysis tool supporting playback and stepping logic for DFAs.', + '--about-url', 'https://github.com/Booglejr/DFAify', + '--license-file', 'LICENSE' + ] + if(os.macOsX) { + jvmArgs = ["-Duser.dir=/tmp"] + } else if(os.windows) { + installerType = 'exe' + installerOptions += [ + '--icon', 'src/main/resources/com/booglejr/dfaify/icons/dfaify.ico', + '--win-per-user-install', + '--win-dir-chooser', + '--win-menu', + '--win-shortcut' + ] + imageOptions += ['--icon', 'src/main/resources/com/booglejr/dfaify/icons/dfaify.ico'] + } else { + installerType = 'deb' // 'rpm' + } + } +} diff --git a/src/main/resources/com/booglejr/dfaify/icons/dfaify.ico b/src/main/resources/com/booglejr/dfaify/icons/dfaify.ico new file mode 100644 index 0000000000000000000000000000000000000000..00bd8c16ce4e27f5c164f60f62642b4fbbf0af24 GIT binary patch literal 258062 zcmeI5d6XB`weQ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