discord locks fix

This commit is contained in:
Thijs Stobbelaar 2023-11-13 10:29:36 +01:00
parent 98232ed7ef
commit 94eeb39e50
2 changed files with 4 additions and 9 deletions

View file

@ -1,13 +1,11 @@
. .\..\includes\ps1\lockfile.ps1
new-lock
if ($PSScriptRoot.length -eq 0) {
$scriptroot = Get-Location
}
else {
$scriptroot = $PSScriptRoot
}
. $scriptroot\..\includes\ps1\lockfile.ps1
new-lock
$fileContent = Get-Content -Path "$scriptroot/../config/config.php" -Raw