flathub / org.zaproxy.ZAP

https://flathub.org/apps/details/org.zaproxy.ZAP
0 stars 3 forks source link

ZAP is looking for updates #15

Open kuflierl opened 2 months ago

kuflierl commented 2 months ago

Zaproxy is requesting you update the application in the UI which is incomparable with the Flatpak system. I would recommend using the -silent argument while calling the application. See https://www.zaproxy.org/docs/desktop/cmdline/ for further info.

kingthorin commented 2 months ago

What happens when you actually choose to install the updates?

kuflierl commented 2 months ago

~Whoops, it seems i made a small mistake. The update mechanism doesn't seem to update but tries to link you to the download website (which is also annoying and useless). which it also can't and throws following exception:~

30472 [AWT-EventQueue-0] ERROR org.zaproxy.zap.utils.DesktopUtils - The BROWSE action is not supported on the current platform!
java.lang.UnsupportedOperationException: The BROWSE action is not supported on the current platform!

It downloads the new version and prompts you to relaunch the application. It then proceeds to fail to start up the new version.

kuflierl commented 2 months ago

I am a pretty rare ZAP user myself, so it would be nice to know if there are any ENV_VARIABLES that disable this functionality. This could simply be added to the startup variables.

psiinon commented 2 months ago

There is a -silent option https://www.zaproxy.org/docs/desktop/cmdline/ but this disables all calls, including telemetry. We would not want to do that by default, but you are free to use it, of course.

kuflierl commented 2 months ago

Does there exist an environment variable that only disables updates? Something like ZAPROXY_NO_CHECK_UPDATES. Disabling telemetry isn't really intended.

thc202 commented 2 months ago

We still want to check for updates, the add-ons can be updated without updating ZAP.