Skip to content

Commit

Permalink
Fix Powershell lint warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-revay committed Mar 9, 2024
1 parent a33b1ce commit 4d7fa54
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Windows_10/source_packages_install.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ $config = @"
echo $config | Out-File -Encoding ASCII -FilePath ./dist/config.json

( $res = Get-ScheduledTask "Taskbar_scroll" -ErrorAction SilentlyContinue ) 2> $null
if ($res -eq $null) {
if ($null -eq $res) {
$exe_dir = "$PWD\dist"
$action = New-ScheduledTaskAction -Execute "$exe_dir\scroll-desktops.exe" `
-Argument "--nowindowed --noconsole" `
Expand All @@ -40,7 +40,7 @@ popd


( $res = Get-ScheduledTask "AltSnap" -ErrorAction SilentlyContinue ) 2> $null
if ($res -eq $null) {
if ($null -eq $res) {
$exe_dir = "C:\Users\janci\AppData\Roaming\AltSnap"
$action = New-ScheduledTaskAction -Execute "$exe_dir\AltSnap.exe" `
-WorkingDirectory "$exe_dir"
Expand Down

0 comments on commit 4d7fa54

Please sign in to comment.