Difference between revisions of "Java/Getdown"
(→Links) |
|||
Line 2: | Line 2: | ||
[https://github.com/threerings/getdown Github sourcen] | [https://github.com/threerings/getdown Github sourcen] | ||
[https://github.com/threerings/getdown/wiki documentation] | [https://github.com/threerings/getdown/wiki documentation] | ||
+ | |||
+ | =Create a getdown.txt file= | ||
+ | The getdown.txt file contains all of the configuration information used by Getdown to control the downloading, installing, patching and execution of your application. Herein we describe all of the configuration options available. | ||
+ | |||
+ | <pre> | ||
+ | # where our app is hosted on the internets | ||
+ | appbase = https://www.gallas-it.de/openaifrontend/ | ||
+ | |||
+ | # the jar file that contains our code | ||
+ | code = openaifrontend.jar | ||
+ | |||
+ | # include the latest copy of getdown; app checks at startup whether it should upgrade getdown | ||
+ | # code = getdown-new.jar | ||
+ | |||
+ | # the main entry point of our app | ||
+ | class = de.termina.openaifrontend.MainApp | ||
+ | |||
+ | # we pass the appdir to our app so that it can upgrade getdown | ||
+ | apparg = %APPDIR% | ||
+ | |||
+ | # test the %env% mechanism | ||
+ | jvmarg = -Dusername=\%ENV.USER% | ||
+ | |||
+ | strict_comments = true | ||
+ | #resource = funny%test dir/some=file.txt | ||
+ | #resource = crazyhashfile#txt | ||
+ | #uresource = foo.jar | ||
+ | #xresource = script.sh | ||
+ | |||
+ | resource = lib/javafx-base-22.0.1-win.jar | ||
+ | resource = lib/javafx-controls-22.0.1-win.jar | ||
+ | resource = lib/javafx-fxml-22.0.1-win.jar | ||
+ | resource = lib/javafx-graphics-22.0.1-win.jar | ||
+ | resource = lib/javafx-media-22.0.1-win.jar | ||
+ | resource = lib/javafx-swing-22.0.1-win.jar | ||
+ | resource = lib/javafx-web-22.0.1-win.jar | ||
+ | resource = log4j2.xml | ||
+ | resource = runme.bat | ||
+ | resource=background.png | ||
+ | |||
+ | ui.name = Openaifrontend | ||
+ | ui.background_image = background.png | ||
+ | ui.progress = 17, 321, 458, 22 | ||
+ | ui.progress_bar = 336600 | ||
+ | ui.progress_text = FFFFFF | ||
+ | ui.status = 57, 245, 373, 68 | ||
+ | ui.status_text = 000000 | ||
+ | |||
+ | # java_min_version = 1080112 | ||
+ | # java_exact_version_required = true | ||
+ | # java_location = [windows] java_windows.jar | ||
+ | # java_location = [mac os x] java_macos.jar | ||
+ | # java_location = [linux] java_linux.jar | ||
+ | </pre> |
Revision as of 10:16, 13 May 2024
Links
Github sourcen documentation
Create a getdown.txt file
The getdown.txt file contains all of the configuration information used by Getdown to control the downloading, installing, patching and execution of your application. Herein we describe all of the configuration options available.
# where our app is hosted on the internets appbase = https://www.gallas-it.de/openaifrontend/ # the jar file that contains our code code = openaifrontend.jar # include the latest copy of getdown; app checks at startup whether it should upgrade getdown # code = getdown-new.jar # the main entry point of our app class = de.termina.openaifrontend.MainApp # we pass the appdir to our app so that it can upgrade getdown apparg = %APPDIR% # test the %env% mechanism jvmarg = -Dusername=\%ENV.USER% strict_comments = true #resource = funny%test dir/some=file.txt #resource = crazyhashfile#txt #uresource = foo.jar #xresource = script.sh resource = lib/javafx-base-22.0.1-win.jar resource = lib/javafx-controls-22.0.1-win.jar resource = lib/javafx-fxml-22.0.1-win.jar resource = lib/javafx-graphics-22.0.1-win.jar resource = lib/javafx-media-22.0.1-win.jar resource = lib/javafx-swing-22.0.1-win.jar resource = lib/javafx-web-22.0.1-win.jar resource = log4j2.xml resource = runme.bat resource=background.png ui.name = Openaifrontend ui.background_image = background.png ui.progress = 17, 321, 458, 22 ui.progress_bar = 336600 ui.progress_text = FFFFFF ui.status = 57, 245, 373, 68 ui.status_text = 000000 # java_min_version = 1080112 # java_exact_version_required = true # java_location = [windows] java_windows.jar # java_location = [mac os x] java_macos.jar # java_location = [linux] java_linux.jar