git clone https://github.com/CorruptComputer/Officer-Beepsky

cd Officer-Beepsky

$token = Read-Host -Prompt 'What is the Discord token? '

$owner = Read-Host -Prompt 'What is the Discord ID of the owner? '

for($i = 1; $i -gt 0; $i = $LASTEXITCODE){
    git pull origin master
    ./gradlew.bat fatJar
    $file = Resolve-Path 'build/libs/Officer-Beepsky-*.jar' | Select-Object -ExpandProperty Path
    java -jar $file %token% %owner%
}

git clone https://github.com/CorruptComputer/Officer-Beepsky

cd Officer-Beepsky

$token = Read-Host -Prompt 'What is the Discord token? '

$owner = Read-Host -Prompt 'What is the Discord ID of the owner? '

for($i = 1; $i -gt 0; $i = $LASTEXITCODE){
    git pull origin master
    ./gradlew.bat fatJar
    $file = Resolve-Path 'build/libs/Officer-Beepsky-*.jar' | Select-Object -ExpandProperty Path
    java -jar $file $token $owner
}

Fix for it not working with windows
Fix for it not working with windows
