usebruno / bruno

Opensource IDE For Exploring and Testing Api's (lightweight alternative to postman/insomnia)
https://www.usebruno.com/
MIT License
27.34k stars 1.25k forks source link

Windows Silent Install starts Bruno #3144

Open a-mnich opened 1 month ago

a-mnich commented 1 month ago

I have checked the following:

Describe the bug

I am usually updating all my winget (Windows Package Manager) packages automatically on a daily basis. This also includes Bruno.
Currently after every update Bruno is startet automatically even though I would like it to be updated silently in the background without any user interaction.

Is there any way to perform a silent install without starting the application?

.bru file to reproduce the bug

No response

Screenshots/Live demo link

https://github.com/user-attachments/assets/94f37e8b-505c-4599-8c30-1fb69e1782c4

TickDracy commented 1 month ago

I'm not sure, but I think the last time I installed Bruno on Windows, was through Chocolatey, and it was installed silently. You can check their installation script on Choco packages (it's on tools\chocolateyInstall.ps1).

From a first glance, I think the command should be bruno_1.29.1_x64_win.exe /S.

If it still doesn't work, you can try to use Chocolatey instead.

a-mnich commented 1 month ago

Thanks @TickDracy! I've reconfigured the winget package to use the /S parameter for a fully silent installation (installation with no user input and no visualization). While this works for me through passing an additional parameter to winget, it would be great to have another installer switch for a "SilentWithProgress" installation , which is a silent installation with a progress bar.

Currently, the "SilentWithProgress" installation can be achieved using the --silent option, but this also starts the application automatically.
Therefore, this is more of a feature request now: I'd like an installer switch to perform a "SilentWithProgress" installation that includes a progress bar without automatically starting the application.
This could probably be implemented through passing an additional parameter to --silent e.g. --disableAutostart or through changing the behavior of --silent.