Build release script

This commit is contained in:
2026-04-21 19:49:18 +02:00
parent bdc305abd8
commit a349402306
3 changed files with 101 additions and 1 deletions

View File

@@ -53,7 +53,7 @@ jobs:
run: apt update -y && apt install -y zip
- name: Create release zip
run: zip -r ./mgt2.zip system.json template.json README.md LICENSE mgt2.bundle.js assets/ lang/ styles/ templates/
run: zip -r ./mgt2.zip system.json README.md LICENSE mgt2.bundle.js assets/ lang/ styles/ templates/
- name: setup go
uses: https://github.com/actions/setup-go@v4

View File

@@ -35,6 +35,65 @@
"path": "lang/fr.json"
}
],
"documentTypes": {
"Actor": {
"character": {
"htmlFields": [
"personal.speciesText.descriptionLong",
"biography",
"finance.notes",
"notes"
]
},
"vehicule": {
"htmlFields": [
"description",
"notes"
]
},
"creature": {
"htmlFields": [
"biography",
"notes"
]
}
},
"Item": {
"armor": {
"htmlFields": [ "description" ]
},
"career": {
"htmlFields": [ "description" ]
},
"computer": {
"htmlFields": [ "description" ]
},
"contact": {
"htmlFields": [ "description", "notes" ]
},
"container": {
"htmlFields": [ "description", "lockedDescription" ]
},
"disease": {
"htmlFields": [ "description" ]
},
"equipment": {
"htmlFields": [ "description" ]
},
"item": {
"htmlFields": [ "description" ]
},
"species": {
"htmlFields": [ "description", "descriptionLong" ]
},
"talent": {
"htmlFields": [ "description" ]
},
"weapon": {
"htmlFields": [ "description" ]
}
}
},
"compatibility": {
"minimum": "11",
"verified": "12.324"

41
template.json.DEAD Normal file
View File

@@ -0,0 +1,41 @@
{
"Actor": {
"types": [
"character",
"vehicule",
"creature"
],
"htmlFields": ["notes", "biography"],
"character": {},
"vehicule": {},
"creature": {}
},
"Item": {
"types": [
"contact",
"career",
"disease",
"item",
"equipment",
"talent",
"armor",
"weapon",
"computer",
"container",
"species"
],
"htmlFields": ["description", "notes"],
"item": {},
"equipment": {},
"container": {},
"weapon": {},
"armor": {},
"computer": {},
"disease": {},
"career": {},
"contact": {},
"talent": {},
"race": {},
"species": {}
}
}