clowd / Clowd.Squirrel

Quick and easy installer and automatic updates for cross-platform dotnet applications
426 stars 39 forks source link

Firewall prompt #166

Closed mariopasquali closed 1 year ago

mariopasquali commented 1 year ago

Hi all,

This is more of a question than an issue, but does the use of Junctions (#24) help avoid the firewall prompt on updates for the most of you?

I have been experimenting with Junctions before integrating Clowd.Squirrel, and as far as I can see, the Windows Firewall considers the target path of the junction (not the junction path itself), which defeats the use of junctions for this purpose. Conceptual steps to reproduce:

I can see from the app logs that it considers itself running from \myapp\current as expected. I can also see that Windows Firewall added a rule based on the target path, not the junction path.

Am I missing something?

Thank you for your help, Mario

caesay commented 1 year ago

I am not 100% sure, however v3 does not use junctions or symbolic links. Instead, v3 uses a regular current folder, and the application files are moved in and out of this folder. Therefore it does solve the firewall problem, and other problems mentioned in the linked issue.