https://kotlinlang.org logo
#compose-desktop
Title
# compose-desktop
z

Zoff

11/18/2023, 8:48 AM
how can i disable that users have to accept the license when installing my app from a package like .dmg and such?
a

Alexander Maryanovsky

11/18/2023, 8:55 AM
Just don’t do the thing you did to make them accept it.
There’s no such thing by default…
z

Zoff

11/18/2023, 11:42 AM
i didnt to that at all. it just happens from what compose dekstop creates
a

Alexander Maryanovsky

11/18/2023, 11:43 AM
It doesn’t happen in my app. What does the
compose.desktop
section in your gradle look like?
i suppose it could be this line? i cant find much info what it does exactly. i want the GPLv3 license to be included but not that the user has to click something on install
a

Alexander Maryanovsky

11/18/2023, 11:54 AM
I don’t know if jpackage supports that. But what do you mean “included”?
z

Zoff

11/18/2023, 11:56 AM
not totally sure. what does that line actually do?
it says: •
licenseFile
— application's license (default value: none).
so i set it. maybe it does something more
a

Alexander Maryanovsky

11/18/2023, 11:58 AM
Apparently, it does the effect you’re seeing now (having the user agree to the license)