#this is the powershell conversion of the mod grab script to play more natively with windows Write-Output "----------------------------------------- Welcome to the mod helper! This program will overwrite the mods on your pc with the newest seasons mods. This program will delete all old mods, so move them if you want to keep them. -----------------------------------------" Read-Host -Prompt "Press any key to continue" | Out-Null New-Item -ItemType Directory mods New-Item -ItemType Directory mods/files #download file data Invoke-WebRequest -Uri "https://code.jakeyoungdev.com/minecraft/server-mods/raw/branch/main/unzip_me.zip" -OutFile ./mods/unzip_me.zip Expand-Archive -DestinationPath ./mods/files/ -Path ./mods/unzip_me.zip #delete current mods $UsrNameStr = $Env:UserName Remove-Item "C:/Users/$UsrNameStr/AppData/Roaming/.minecraft/mods/*.jar" #move new mods Move-Item -Path "./mods/files/*.jar" -Destination "C:/Users/$UsrNameStr/AppData/Roaming/.minecraft/mods/" #clean up our mess Remove-Item -Recurse ./mods Write-Output " ----------------------------------------- The new mods should be installed on your pc -----------------------------------------"