Lockfile for discord ps1 #54

Merged
OpzekerIT merged 2 commits from dev into main 2023-09-30 08:28:18 +00:00
Showing only changes of commit 3e6a1f4ed1 - Show all commits

View file

@ -1,3 +1,6 @@
. .\..\includes\ps1\lockfile.ps1
new-lock
if ($PSScriptRoot.length -eq 0) {
$scriptroot = Get-Location
@ -151,3 +154,5 @@ $newJson = $player_matches | ConvertTo-Json -Depth 100
# Display the updated JSON
$newJson | out-file "$scriptroot/../data/player_matches.json"
remove-lock