Skip to content

Commit 4a27e8a

Browse files
committed
Fix uploading
1 parent 3f98281 commit 4a27e8a

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.scripts/zip_mod.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ fi
7676
### "It is not permitted to distribute executable files with mod"
7777
### Removes all files ending in exe, bat, ps1, sh, py.
7878
local format=*.sh
79-
local files=($(find "$mod_folder.scripts" -name "$format" -type f))
79+
local files=($(find "$mod_folder/.scripts" -name "$format" -type f))
8080
for path in "${files[@]}"; do mv "$path" "${path%.*}.txt"; done
8181
find . -name "*.exe" -type f -delete
8282
find . -name "*.bat" -type f -delete
@@ -88,7 +88,7 @@ find . -name "*.py" -type f -delete
8888

8989
### Reverses txt to sh back.
9090
local format=*.txt
91-
local files=($(find "$mod_folder.scripts" -name "$format" -type f))
91+
local files=($(find "$mod_folder/.scripts" -name "$format" -type f))
9292
for path in "${files[@]}"; do mv "$path" "${path%.*}.sh"; done
9393

9494
}

info.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "zk-lib",
33
"version": "0.18.0",
44
"factorio_version": "2.1",
5-
"title": "ZwerOxotnik's extendable mod with 8 addons ",
5+
"title": "ZwerOxotnik's extendable mod with 8 addons",
66
"author": "ZwerOxotnik",
77
"contact": "zweroxotnik@gmail.com, discord:ZwerOxotnik",
88
"source": "https://github.com/ZwerOxotnik/zk-lib",

0 commit comments

Comments
 (0)