Closed Bombino1024 closed 1 year ago
@jsuchal @celuchmarek neviem assignut reviewerov
@Bombino1024 pozeral si flag --add-launcher
? Napr tu.
A potom v nejakej oracle dokumentácii píšu: :thinking:
Add a launcher to start the Windows console.
To provide the user with the option of running your application with or without the
console, create the following properties file that defines a launcher that uses the
Windows console.
MLConsole.properties:
win-console=true
The following command packages the HelloWorld application with an additional
launcher that runs the application with the Windows console.
jpackage --name HelloWorld --input helloworld \
--main-jar HelloWorld.jar \
--add-launcher HWConsole=MLConsole.properties
@celuchmarek mal si pravdu, teraz sa pri builde vytvori 1 .msi installer, ktory nainstaluje 2 .exe subory (Autogram.exe a Autogram-cli.exe) a funguju ako maju.
@celuchmarek tu este upravme readme alebo dokumentaciu kde treba aby bolo jasne ze pre win sa cli pusta inak
@jsuchal tuto sa nepodarilo spraviť package. Mergneme do mainu a zbuildíme, aby sme potom otestovali na Windowse?
Ano skusme tak.
Refactor packaging script to build two msi installers (gui and cli) on windows