mintty / wsltty

Mintty as a terminal for Bash on Ubuntu on Windows / WSL
Other
3.12k stars 104 forks source link

Installer not silent when using custom destination #285

Closed AeliusSaionji closed 3 years ago

AeliusSaionji commented 3 years ago

Hello! When updating the chocolatey package, the following is run:

Start-Process -FilePath "$filePath" -ArgumentList "/T:$toolsDir\wslttyinstall /C /Q" -WorkingDirectory "$toolsdir" -Wait

Despite the /Q, the user is presented a popup about overwriting existing files.

I am still maintaining the chocolatey package- I could adjust the install script to clear the directory beforehand, but it has been some time since I looked at the install logic and I'm not certain how wise that would be.

Let me know if this is something you can tackle from your end!

Thanks.

mintty commented 3 years ago

I assume the chocolatey install directory is not the same as the standalone install directory would be. There is nothing that wsltty would remember in it, so if you don't expect users to make changes or add files to the install directory, feel free to clear it.