0.0.6 - changed the packing script

This commit is contained in:
Theenoro 2024-11-04 10:11:40 +01:00
parent fd89b67f8f
commit 70c7214ea4
7 changed files with 189 additions and 175 deletions

View File

@ -1,4 +1,4 @@
More Uranium-235 (original by NancyBDrew)
More Uranium-235
This mod makes it easier to get Uranium-235 by greatly increasing the ratio of U235 to U238 produced by uranium processing.
This helps you bypass Kovarex enrichment, though as a downside you won't have as much U238.
@ -6,11 +6,13 @@ More Uranium-235 (original by NancyBDrew)
This mod sets the ratio to 5% U235 95% U238.
## Versions
* 0.0.6 - messed up with the version number
* 0.0.5 - adding 2 more recipes. One for recyceling and one for enrichment.
* 0.0.4 - complete rewrite for 2.0 with some recycle functions
* 0.0.3 05/95 produce
* 0.0.2 50/50 produce
* 0.0.1 Initial release
* 0.0.1 - 0.0.3 (original by NancyBDrew)
* 0.0.3 05/95 produce
* 0.0.2 50/50 produce
* 0.0.1 Initial release
## Infos

View File

@ -2,7 +2,19 @@
#
#
#
New-Item -ItemType Directory -Force -Path dist
$7zipPath = "$env:ProgramFiles\7-Zip\7z.exe"
if (-not (Test-Path -Path $7zipPath -PathType Leaf)) {
throw "7 zip executable '$7zipPath' not found"
}
Set-Alias Start-SevenZip $7zipPath
Write-Host "PACK MOD"
$code = Get-Content .\src\info.json -Raw | ConvertFrom-Json
$name = $code.name + "_" + $code.version
@ -14,6 +26,6 @@ cp -r src tmp
cp README.md tmp/src
mv "tmp/src" "tmp/$name"
cd tmp
Compress-Archive "./$name" "../dist/$name.zip"
Start-SevenZip a -tzip "../dist/$name.zip" "./$name"
cd ..
rm tmp -r -force

View File

@ -1,6 +1,6 @@
{
"name": "more-u235_50_50",
"version": "0.0.5",
"version": "0.0.6",
"factorio_version": "2.0",
"title": "More Uranium-235 05/95",
"author": "Theenoro",