Skip to content

Commit

Permalink
Update wakemeonlan.json - fix persisting per #6179 (#41)
Browse files Browse the repository at this point in the history
Persisting is presuming a directory not a file, needs this workaround to make it work, as per: ScoopInstaller/Scoop#6179
  • Loading branch information
29039 authored Nov 22, 2024
1 parent 7503e3f commit 327d7be
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion bucket/wakemeonlan.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
"NirSoft\\WakeMeOnLan"
]
],
"pre_install": [
"'wakemeonlan_lng.ini' | ForEach-Object { New-Item -Path (Join-Path -Path $dir -ChildPath $_) -ItemType File -ErrorAction SilentlyContinue | Out-Null }",
"'wakemeonlan.cfg' | ForEach-Object { New-Item -Path (Join-Path -Path $dir -ChildPath $_) -ItemType File -ErrorAction SilentlyContinue | Out-Null }"
],
"persist": [
"wakemeonlan_lng.ini",
"wakemeonlan.cfg"
Expand Down Expand Up @@ -39,4 +43,4 @@
}
}
}
}
}

0 comments on commit 327d7be

Please sign in to comment.