first working state
This commit is contained in:
parent
0a9b76f9c7
commit
4a0db151d4
23 changed files with 512 additions and 74 deletions
|
@ -70,6 +70,8 @@ async function main() {
|
|||
const appid = border.appid;
|
||||
const name = border.community_item_data.item_name;
|
||||
|
||||
const community_item_type = border.community_item_type;
|
||||
|
||||
const filename_large = border.community_item_data.item_image_large;
|
||||
if (filename_large == "c05c0155855b74c28e0f6e9417d4afa3c99d76ef.png") {
|
||||
console.log(border);
|
||||
|
@ -84,6 +86,7 @@ async function main() {
|
|||
borders.push({
|
||||
name: `${name}-LARGE`,
|
||||
borderURL: `${borderURL}/${filename_large}`,
|
||||
itemType: community_item_type,
|
||||
appInfo,
|
||||
});
|
||||
}
|
||||
|
@ -92,6 +95,7 @@ async function main() {
|
|||
borders.push({
|
||||
name: `${name}-SMALL`,
|
||||
borderURL: `${borderURL}/${filename_small}`,
|
||||
itemType: community_item_type,
|
||||
appInfo,
|
||||
});
|
||||
}
|
||||
|
|
|
@ -32,6 +32,7 @@ let catalogue = async () => {
|
|||
id: 0,
|
||||
imageName: item,
|
||||
borderName: "Default",
|
||||
itemType: 54,
|
||||
},
|
||||
});
|
||||
numAdded++;
|
||||
|
@ -95,12 +96,14 @@ let download = async () => {
|
|||
appId: value.appInfo.appid,
|
||||
appName: value.appInfo.name,
|
||||
borderName: value.name,
|
||||
itemType: value.itemType,
|
||||
},
|
||||
update: {
|
||||
imageName: filename,
|
||||
appId: value.appInfo.appid,
|
||||
appName: value.appInfo.name,
|
||||
borderName: value.name,
|
||||
itemType: value.itemType,
|
||||
},
|
||||
where: {
|
||||
imageName: filename,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue