Windows上でSyncthingを自動起動させる
Windows 10の場合、これに従う
https://docs.syncthing.net/users/autostart.html#autostart-windows-startup
syncthing.exe --no-console --no-browser
Windows 11の場合
https://github.com/syncthing/syncthing/issues/8046#issuecomment-1402428988
C:\Windows\System32\conhost.exe "C:\Users\takumi\scoop\shims\syncthing.exe" --no-console --no-browser
https://github.com/s0racat/scoop-bucket/blob/master/bucket/syncthing-autostart.json
code:pwsh
gsudo New-NetFirewallRule -DisplayName 'Syncthing_TCP-22000' -Direction Inbound -Protocol TCP -LocalPort 22000 -Action Allow -Profile Private
gsudo New-NetFirewallRule -DisplayName 'Syncthing_UDP-22000' -Direction Inbound -Protocol UDP -LocalPort 22000 -Action Allow -Profile Private
gsudo New-NetFirewallRule -DisplayName 'Syncthing_UDP-21027' -Direction Inbound -Protocol UDP -LocalPort 21027 -Action Allow -Profile Private
#Windows #Syncthing