diff --git a/README.md b/README.md index eaf4a12..e741a8f 100644 --- a/README.md +++ b/README.md @@ -55,7 +55,7 @@ There is 2 types of "configuration" of mod folder: *simple* and *with misc* ### Simple mod -Everyting in mod folder will be packed in `.packed` file. That's it. Pretty +Everyting in mod folder except `README.md` will be packed in `.packed` file. That's it. Pretty simple. ### Mod with misc diff --git a/build.ps1 b/build.ps1 index b08b834..4f96365 100644 --- a/build.ps1 +++ b/build.ps1 @@ -102,8 +102,10 @@ function pack_mod($mod) { if (Test-Path $mod\packed\) { & $pack_expl_path "$output_path\$mod.packed" add -s $mod\packed; + return; } else { & $pack_expl_path "$output_path\$mod.packed" add -s $mod\; + & $pack_expl_path "$output_path\$mod.packed" remove -d README.md; } }