mirror of
https://github.com/billsonnn/nitro-converter.git
synced 2024-11-26 17:30:52 +01:00
Deleted configuration example....
This commit is contained in:
parent
e706bc4671
commit
b4a591b3a6
21
src/configuration.json.example
Normal file
21
src/configuration.json.example
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
{
|
||||||
|
"output.folder": "C:/nitro-converted-assets/",
|
||||||
|
"flash.client.url": "",
|
||||||
|
"furnidata.load.url": "",
|
||||||
|
"productdata.load.url": "",
|
||||||
|
"figuremap.load.url": "${flash.client.url}figuremap.xml",
|
||||||
|
"effectmap.load.url": "${flash.client.url}effectmap.xml",
|
||||||
|
"dynamic.download.pet.url": "${flash.client.url}%className%.swf",
|
||||||
|
"dynamic.download.figure.url": "${flash.client.url}%className%.swf",
|
||||||
|
"dynamic.download.effect.url": "${flash.client.url}%className%.swf",
|
||||||
|
"flash.dynamic.download.url": "",
|
||||||
|
"dynamic.download.furniture.url": "${flash.dynamic.download.url}%revision%/%className%.swf",
|
||||||
|
"external.variables.url": "https://www.habbo.com/gamedata/external_variables/1",
|
||||||
|
"external.texts.url": "${external.texts.txt}",
|
||||||
|
"convert.productdata": "1",
|
||||||
|
"convert.externaltexts": "1",
|
||||||
|
"convert.figure": "1",
|
||||||
|
"convert.effect": "1",
|
||||||
|
"convert.furniture": "1",
|
||||||
|
"convert.pet": "1"
|
||||||
|
}
|
@ -40,7 +40,7 @@ export class FileUtilities
|
|||||||
if(url.startsWith('http'))
|
if(url.startsWith('http'))
|
||||||
{
|
{
|
||||||
const data = await fetch.default(url);
|
const data = await fetch.default(url);
|
||||||
if (data.status === 404) return;
|
if (data.status === 404) return null;
|
||||||
|
|
||||||
if(data) content = await data.text();
|
if(data) content = await data.text();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user