tnewton1/ZeroTierOneFixer

Spamming my taskbar

Closed this issue · 4 comments

Am I the only one with this problem?

image

it makes sense why it's happening- im just wondering why this line:
Start-Process $ZeroTierOneExe

isnt something like this:

$ZeroTierAlive = Get-Process -Name "ZeroTier One" -ErrorAction SilentlyContinue

if($ZeroTierAlive -eq $null){
    Start-Process $ZeroTierOneExe
}

This is a valid issue. The script needs to be cleaned up and re-worked. I'll look into it, but I haven't used ZeroTier in a couple of years now. If you (or anyone who actively uses ZeroTier) can contribute, I'll merge in any contributions. Otherwise, I'll look into it but I don't have an ETA.

I made the aforementioned changes. It definitely fixes the taskbar issue-

I'll let it sit like this a month and report back if any unexpected issues arise. thanks for the quick response.

@mdennis281 Thanks for helping to contribute! Do let me know. I'll branch this off and do some more tweaking and testing.

@mdennis281 Thanks for helping out! 👍