diff --git a/packages/internet_detector.vm/internet_detector.vm.nuspec b/packages/internet_detector.vm/internet_detector.vm.nuspec index 96cb8297..24adc1f6 100644 --- a/packages/internet_detector.vm/internet_detector.vm.nuspec +++ b/packages/internet_detector.vm/internet_detector.vm.nuspec @@ -2,7 +2,7 @@ internet_detector.vm - 1.0.0.20241209 + 1.0.0.20241216 Elliot Chernofsky and Ana Martinez Gomez Tool that changes the background and a taskbar icon if it detects internet connectivity diff --git a/packages/internet_detector.vm/tools/chocolateyinstall.ps1 b/packages/internet_detector.vm/tools/chocolateyinstall.ps1 index 85daf393..818c4d57 100644 --- a/packages/internet_detector.vm/tools/chocolateyinstall.ps1 +++ b/packages/internet_detector.vm/tools/chocolateyinstall.ps1 @@ -22,8 +22,3 @@ $imagesPath = Join-Path $packageToolDir "images" Copy-Item "$imagesPath\*" ${Env:VM_COMMON_DIR} -Force VM-Install-Shortcut -toolName $toolName -category $category -executablePath "$toolDir/$toolName.exe" - -# Create scheduled task for tool to run every 2 minutes. -$action = New-ScheduledTaskAction -Execute "$toolDir/$toolName.exe" -$trigger = New-ScheduledTaskTrigger -Once -At (Get-Date) -RepetitionInterval (New-TimeSpan -Minutes 2) -Register-ScheduledTask -Action $action -Trigger $trigger -TaskName 'Internet Detector' -Force