Skip to content

Commit

Permalink
Merge pull request #32 from anno-mods/devel/fix-build-maps
Browse files Browse the repository at this point in the history
don't create maps folder if already available
  • Loading branch information
jakobharder authored May 1, 2023
2 parents d40b018 + 37cf8aa commit 2c32e7e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how

## 1.12 Simplified Build and Deploy

- 1.12.5: Don't create `maps/` folder if texture is already in maps
- 1.12.4: Fixed issue with texture cache
- 1.12.4: Include tag in downloaded bundle mods
- 1.12.3: Allow array in `bundle`
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "anno-modding-tools",
"displayName": "Anno Modding Tools",
"description": "Modding tools for Anno 1800",
"version": "1.12.4",
"version": "1.12.5",
"publisher": "JakobHarder",
"repository": {
"type": "git",
Expand Down
6 changes: 3 additions & 3 deletions src/builder/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@ export class ModBuilder {
"action": "gltf",
"pattern": "{data,products,shared}/**/!(propsonly)*.gltf",
"lods": 5,
"changePath": "rdm/",
"animPath": "anim/",
"changePath": "rdm",
"animPath": "anim",
"plantPattern": ".*(_field|_tree|_field).gltf"
},
{
Expand All @@ -111,7 +111,7 @@ export class ModBuilder {
"action": "texture",
"pattern": "{data,products,shared}/**/*_{diff,norm,height,metal,mask,rga,r_a,r_a+b}.png",
"lods": 3,
"changePath": "maps/"
"changePath": "maps"
},
{
"action": "texture",
Expand Down

0 comments on commit 2c32e7e

Please sign in to comment.