mirror of
https://github.com/winapps-org/winapps.git
synced 2025-09-23 09:49:35 +02:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci Signed-off-by: Oskar Manhart <52569953+oskardotglobal@users.noreply.github.com>
This commit is contained in:
![66853113+pre-commit-ci[bot]@users.noreply.github.com](/assets/img/avatar_default.png)
committed by
Oskar Manhart

parent
a04f5db39a
commit
fbb382e1e8
@@ -14,7 +14,7 @@ function Monitor-File {
|
||||
if (Test-Path -Path $filePath) {
|
||||
# Run time resync silently
|
||||
w32tm /resync /quiet
|
||||
|
||||
|
||||
# Remove the file
|
||||
Remove-Item -Path $filePath -Force
|
||||
}
|
||||
@@ -22,7 +22,7 @@ function Monitor-File {
|
||||
catch {
|
||||
# Network location not available, continue monitoring silently
|
||||
}
|
||||
|
||||
|
||||
# Wait 5 minutes before next check
|
||||
Start-Sleep -Seconds 3000
|
||||
}
|
||||
|
Reference in New Issue
Block a user