From fd89b67f8f70a79c1b392a695e1fcbcf7f44118d Mon Sep 17 00:00:00 2001 From: Theenoro Date: Sat, 2 Nov 2024 04:36:12 +0100 Subject: [PATCH] 0.0.5 + --- README.md | 7 ++++++- pack.bat | 8 -------- pack.ps1 | 19 +++++++++++++++++++ src/info.json | 2 +- 4 files changed, 26 insertions(+), 10 deletions(-) delete mode 100644 pack.bat create mode 100644 pack.ps1 diff --git a/README.md b/README.md index 3b702f3..bd81bd3 100644 --- a/README.md +++ b/README.md @@ -5,13 +5,18 @@ More Uranium-235 (original by NancyBDrew) This mod sets the ratio to 5% U235 95% U238. - ## Versions + * 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 +## Infos + +#### 0.0.5 +The icons I used are AI generated cause I would say I'm unable to create something of my own. I'm really really sorry for that. + ## License MIT license diff --git a/pack.bat b/pack.bat deleted file mode 100644 index 337f3b9..0000000 --- a/pack.bat +++ /dev/null @@ -1,8 +0,0 @@ -powershell rm tmp -r -force -powershell mkdir tmp -powershell cp -r src tmp -powershell mv tmp/src tmp/more-u235_extended -cd tmp -powershell Compress-Archive ./more-u235_extended ../dist/more-u235_extended.zip -cd .. -powershell rm tmp -r -force \ No newline at end of file diff --git a/pack.ps1 b/pack.ps1 new file mode 100644 index 0000000..3489d5d --- /dev/null +++ b/pack.ps1 @@ -0,0 +1,19 @@ +# +# +# +# +Write-Host "PACK MOD" +$code = Get-Content .\src\info.json -Raw | ConvertFrom-Json + +$name = $code.name + "_" + $code.version +Write-Host ("Packing as $name") + +rm tmp -r -force +mkdir tmp +cp -r src tmp +cp README.md tmp/src +mv "tmp/src" "tmp/$name" +cd tmp +Compress-Archive "./$name" "../dist/$name.zip" +cd .. +rm tmp -r -force \ No newline at end of file diff --git a/src/info.json b/src/info.json index f96a54f..e79e0cd 100644 --- a/src/info.json +++ b/src/info.json @@ -1,6 +1,6 @@ { "name": "more-u235_50_50", - "version": "0.0.4", + "version": "0.0.5", "factorio_version": "2.0", "title": "More Uranium-235 05/95", "author": "Theenoro",