mirror of
https://github.com/Fabulously-Optimized/fabulously-optimized.git
synced 2024-05-03 03:40:17 +00:00
9bc287f27f
* Add files via upload * cleanup * a * Update post-exit.ps1 * parity * Update pre-launch.ps1 Co-authored-by: Madis Otenurm <Madis0@users.noreply.github.com>
13 lines
420 B
PowerShell
13 lines
420 B
PowerShell
# By Ultrasonic1209
|
|
|
|
# Restore packwiz disabled mods to prevent useless redownload
|
|
Write-Output "Restoring overridden mods for future launches..."
|
|
Set-Location ".\mods"
|
|
|
|
$mods = Get-ChildItem *.jar.disabled
|
|
|
|
foreach ( $mod in $mods ) {
|
|
Move-Item -Path $mod.name -Destination ($mod.FullName).Replace(".disabled","") -Force
|
|
Write-Output "$($mod.name.Replace(".disabled", '')) restored successfully!"
|
|
}
|