Commit 0c1b5a42 authored by Tt's avatar Tt

meta

parent 2a792e6f
{
"ver": "1.1.2",
"uuid": "0644b079-4147-489d-ad68-72f2ca1ffe1e",
"uuid": "7f17f499-9a90-43ca-8f06-289f95f3a418",
"isBundle": false,
"bundleName": "",
"priority": 1,
......
{
"ver": "1.1.2",
"uuid": "cb9fa4ea-66ca-45af-ad31-e445c7b0ef32",
"uuid": "29ea2c79-017b-48d2-b185-d6e5ba9ba2b0",
"isBundle": false,
"bundleName": "",
"priority": 1,
......
{
"ver": "2.0.1",
"uuid": "d7ee13c8-7c6f-4ed4-bf81-c85ae91edfa9",
"uuid": "08715de0-3306-42ec-8135-faa0ff96b450",
"downloadMode": 0,
"duration": 7.74,
"subMetas": {}
......
{
"ver": "2.0.1",
"uuid": "fc2be55f-3d94-44e0-9ebf-09e0eaa47873",
"uuid": "3fb80606-61a5-4926-b848-8b64a3f79f91",
"downloadMode": 0,
"duration": 10.944,
"subMetas": {}
......
{
"ver": "2.0.1",
"uuid": "4d2df5f4-a774-4e06-a410-4e38195952ad",
"uuid": "43908257-affa-43d7-93a6-3c180346dbf7",
"downloadMode": 0,
"duration": 0.972,
"subMetas": {}
......
{
"ver": "2.0.1",
"uuid": "0d2dd7a8-9bc2-4cd5-a432-a13f8fb43033",
"uuid": "7e1a7e06-a937-49f9-8b08-43206689e89f",
"downloadMode": 0,
"duration": 1.188,
"subMetas": {}
......
{
"ver": "2.0.1",
"uuid": "a544c1e7-32f5-4754-95a2-823398db0dcc",
"uuid": "1e6de059-3d5b-4b2d-8c75-bf2f893e5534",
"downloadMode": 0,
"duration": 0.287347,
"subMetas": {}
......
{
"ver": "2.0.1",
"uuid": "293ae196-a9b5-4da0-a0b6-597baa25f7b1",
"uuid": "e5629afa-7a7b-4b9a-9cb1-b8359f71de9e",
"downloadMode": 0,
"duration": 0.365714,
"subMetas": {}
......
{
"ver": "2.0.1",
"uuid": "b733b7d3-4082-4320-9fe0-2ce28088b687",
"uuid": "53b3a274-1ab6-4d15-b5ab-09a3e6ccbf8d",
"downloadMode": 0,
"duration": 0.966531,
"subMetas": {}
......
{
"ver": "2.0.1",
"uuid": "e87d3f15-54b2-4a37-9793-9923fa34fda9",
"uuid": "98e16e5f-9696-44cd-ae6b-971cd6819651",
"downloadMode": 0,
"duration": 0.626939,
"subMetas": {}
......
{
"ver": "2.0.1",
"uuid": "d9be9283-652e-44da-98d6-680406e71a03",
"uuid": "e25692ac-8868-4fe5-84a8-abe036ca7c56",
"downloadMode": 0,
"duration": 0.168,
"subMetas": {}
......
{
"ver": "2.0.1",
"uuid": "7bf9c308-8dd5-411d-8770-ddc8341386d0",
"uuid": "ed13d68f-cbbf-43af-a2da-af01e160443a",
"downloadMode": 0,
"duration": 0.39185,
"subMetas": {}
......
{
"ver": "1.1.2",
"uuid": "0853721c-3f55-4eb2-873d-e3081cfadd4b",
"uuid": "cd2b925f-8493-4101-9843-a06122d926e1",
"isBundle": false,
"bundleName": "",
"priority": 1,
......
{
"ver": "1.1.2",
"uuid": "ac17bb63-beac-4d42-bc52-1d53b848082f",
"uuid": "b3b634b3-a22a-466b-b0d7-b677cd3a7877",
"isBundle": false,
"bundleName": "",
"priority": 1,
......
{
"ver": "1.0.1",
"uuid": "42cb15db-315a-4d11-9814-0fe5f8808a72",
"uuid": "dd3f4660-abba-4d05-b68a-7f296682a0ec",
"subMetas": {}
}
\ No newline at end of file
{
"ver": "1.0.1",
"uuid": "b2242a6f-c54f-4b2d-8151-89a713576e41",
"uuid": "c024df40-b277-450c-bc20-3a798e3ba552",
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "c8f02f6a-80f7-4712-8a8c-26db0a90ab03",
"uuid": "5e3c21a5-722f-4fdd-a1a3-fb0b677cc0a2",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
......@@ -13,8 +13,8 @@
"subMetas": {
"mao_tex": {
"ver": "1.0.4",
"uuid": "837a88a0-d171-4421-8e58-63a525eabc62",
"rawTextureUuid": "c8f02f6a-80f7-4712-8a8c-26db0a90ab03",
"uuid": "dac94a36-52f8-4411-a28a-ea5e98dd273f",
"rawTextureUuid": "5e3c21a5-722f-4fdd-a1a3-fb0b677cc0a2",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
......
{
"ver": "1.1.2",
"uuid": "6761fd57-5a32-4069-97fb-394f948fce55",
"uuid": "d78cc9e1-7666-4930-9f96-4889dc9338f9",
"isBundle": false,
"bundleName": "",
"priority": 1,
......
{
"ver": "1.0.1",
"uuid": "19545f35-d966-469d-b38d-7e7c259be583",
"uuid": "9c2bca4e-622f-40ef-95ab-477dfad4f10d",
"subMetas": {}
}
\ No newline at end of file
{
"ver": "1.0.1",
"uuid": "9b3a5033-22d2-45da-adc1-72b4f923d49f",
"uuid": "a64cc464-38e6-4ae8-a712-859896f7b052",
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "746ae0c5-fa23-4bfc-9f8a-8b3e7d740ffd",
"uuid": "f54eed27-7b82-4d1d-a946-4a5532a2768d",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
......@@ -13,8 +13,8 @@
"subMetas": {
"车尾气_tex": {
"ver": "1.0.4",
"uuid": "860eaea9-8d23-4e34-819a-fcec8d74c471",
"rawTextureUuid": "746ae0c5-fa23-4bfc-9f8a-8b3e7d740ffd",
"uuid": "8dbd9c9a-d660-42fe-b397-2c5ee193c7fd",
"rawTextureUuid": "f54eed27-7b82-4d1d-a946-4a5532a2768d",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
......
{
"ver": "1.1.2",
"uuid": "70b06f27-303c-4ea7-ab54-90e916ebd541",
"uuid": "ad34879c-bbd8-4450-8b34-1b670d0ceea9",
"isBundle": false,
"bundleName": "",
"priority": 1,
......
{
"ver": "1.0.1",
"uuid": "bce4f069-c7dc-4d7c-bdae-9528d291dc83",
"uuid": "728bc9be-3c9c-4a4e-b1a4-a7f31808ab30",
"subMetas": {}
}
\ No newline at end of file
{
"ver": "1.0.1",
"uuid": "6edbd32c-4733-466b-a910-5cf85b3eaef8",
"uuid": "2ae026ee-c4dd-4f63-a219-d10bbfe1c4ee",
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "c138e5ff-6afa-4eef-8c24-7308cc6e2f7b",
"uuid": "8c959350-bbd9-4c55-ae36-d7a6b3b1b9d8",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
......@@ -13,8 +13,8 @@
"subMetas": {
"烟花_tex": {
"ver": "1.0.4",
"uuid": "91a38a51-4650-4bb3-89db-b1827ed75bf2",
"rawTextureUuid": "c138e5ff-6afa-4eef-8c24-7308cc6e2f7b",
"uuid": "9502dd12-f2da-4091-b9bf-b98d95b225c0",
"rawTextureUuid": "8c959350-bbd9-4c55-ae36-d7a6b3b1b9d8",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
......
{
"ver": "1.1.2",
"uuid": "20185448-a1ca-4de2-8b37-7bf6cdfccbae",
"uuid": "ed6fe257-df82-4098-9f0e-0b8889da8593",
"isBundle": false,
"bundleName": "",
"priority": 1,
......
{
"ver": "1.1.0",
"uuid": "c551970e-b095-45f3-9f1d-25cde8b8deb1",
"uuid": "58d486fd-b820-4bda-aba4-2ae8803df8bd",
"subMetas": {}
}
\ No newline at end of file
{
"ver": "1.1.2",
"uuid": "e8bd16b0-3804-45a9-a8ca-f52c02224f55",
"uuid": "adbedbab-0312-46fb-822e-8a68db327c8b",
"isBundle": false,
"bundleName": "",
"priority": 1,
......
......@@ -64,7 +64,7 @@
"_groupIndex": 0,
"groupIndex": 0,
"autoReleaseAssets": true,
"_id": "074720a3-f261-4ae9-9af1-1adabd8f4c6d"
"_id": "ac0ee50a-a1da-4958-bd03-4b426302a868"
},
{
"__type__": "cc.Node",
......@@ -419,7 +419,7 @@
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "97f1d65d-ea03-4276-acd5-7fc3ebbb125c"
"__uuid__": "4c382c5d-0204-416a-abee-2642b026c231"
},
"_type": 0,
"_sizeMode": 0,
......@@ -543,7 +543,7 @@
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "a6e219f9-4946-4b9b-b638-6e160a0df435"
"__uuid__": "65441924-3ffb-4c17-87af-714249b1a0c8"
},
"_type": 0,
"_sizeMode": 0,
......@@ -664,7 +664,7 @@
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "b793b0d3-fd30-4d34-8264-28821c329c1d"
"__uuid__": "a1e69992-0c62-4855-967d-8ca1d7d42921"
},
"_type": 0,
"_sizeMode": 0,
......@@ -761,7 +761,7 @@
"_cacheMode": 0,
"playTimes": -1,
"premultipliedAlpha": false,
"_armatureKey": "bce4f069-c7dc-4d7c-bdae-9528d291dc83#6edbd32c-4733-466b-a910-5cf85b3eaef8",
"_armatureKey": "728bc9be-3c9c-4a4e-b1a4-a7f31808ab30#2ae026ee-c4dd-4f63-a219-d10bbfe1c4ee",
"_accTime": 0,
"_playCount": 0,
"_frameCache": null,
......@@ -769,10 +769,10 @@
"_playing": false,
"_armatureCache": null,
"_N$dragonAsset": {
"__uuid__": "bce4f069-c7dc-4d7c-bdae-9528d291dc83"
"__uuid__": "728bc9be-3c9c-4a4e-b1a4-a7f31808ab30"
},
"_N$dragonAtlasAsset": {
"__uuid__": "6edbd32c-4733-466b-a910-5cf85b3eaef8"
"__uuid__": "2ae026ee-c4dd-4f63-a219-d10bbfe1c4ee"
},
"_N$_defaultArmatureIndex": 0,
"_N$_animationIndex": 1,
......@@ -987,7 +987,7 @@
"_cacheMode": 0,
"playTimes": -1,
"premultipliedAlpha": false,
"_armatureKey": "19545f35-d966-469d-b38d-7e7c259be583#9b3a5033-22d2-45da-adc1-72b4f923d49f",
"_armatureKey": "9c2bca4e-622f-40ef-95ab-477dfad4f10d#a64cc464-38e6-4ae8-a712-859896f7b052",
"_accTime": 0,
"_playCount": 0,
"_frameCache": null,
......@@ -995,10 +995,10 @@
"_playing": false,
"_armatureCache": null,
"_N$dragonAsset": {
"__uuid__": "19545f35-d966-469d-b38d-7e7c259be583"
"__uuid__": "9c2bca4e-622f-40ef-95ab-477dfad4f10d"
},
"_N$dragonAtlasAsset": {
"__uuid__": "9b3a5033-22d2-45da-adc1-72b4f923d49f"
"__uuid__": "a64cc464-38e6-4ae8-a712-859896f7b052"
},
"_N$_defaultArmatureIndex": 0,
"_N$_animationIndex": 1,
......@@ -1024,7 +1024,7 @@
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "33fc1308-9256-403d-a9fc-1567ef02f890"
"__uuid__": "3831f768-3f38-4e9f-a5de-08f753934b9b"
},
"_type": 0,
"_sizeMode": 0,
......@@ -1187,7 +1187,7 @@
"_cacheMode": 0,
"playTimes": -1,
"premultipliedAlpha": false,
"_armatureKey": "19545f35-d966-469d-b38d-7e7c259be583#9b3a5033-22d2-45da-adc1-72b4f923d49f",
"_armatureKey": "9c2bca4e-622f-40ef-95ab-477dfad4f10d#a64cc464-38e6-4ae8-a712-859896f7b052",
"_accTime": 0,
"_playCount": 0,
"_frameCache": null,
......@@ -1195,10 +1195,10 @@
"_playing": false,
"_armatureCache": null,
"_N$dragonAsset": {
"__uuid__": "19545f35-d966-469d-b38d-7e7c259be583"
"__uuid__": "9c2bca4e-622f-40ef-95ab-477dfad4f10d"
},
"_N$dragonAtlasAsset": {
"__uuid__": "9b3a5033-22d2-45da-adc1-72b4f923d49f"
"__uuid__": "a64cc464-38e6-4ae8-a712-859896f7b052"
},
"_N$_defaultArmatureIndex": 0,
"_N$_animationIndex": 1,
......@@ -1224,7 +1224,7 @@
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "33fc1308-9256-403d-a9fc-1567ef02f890"
"__uuid__": "3831f768-3f38-4e9f-a5de-08f753934b9b"
},
"_type": 0,
"_sizeMode": 0,
......@@ -1387,7 +1387,7 @@
"_cacheMode": 0,
"playTimes": -1,
"premultipliedAlpha": false,
"_armatureKey": "19545f35-d966-469d-b38d-7e7c259be583#9b3a5033-22d2-45da-adc1-72b4f923d49f",
"_armatureKey": "9c2bca4e-622f-40ef-95ab-477dfad4f10d#a64cc464-38e6-4ae8-a712-859896f7b052",
"_accTime": 0,
"_playCount": 0,
"_frameCache": null,
......@@ -1395,10 +1395,10 @@
"_playing": false,
"_armatureCache": null,
"_N$dragonAsset": {
"__uuid__": "19545f35-d966-469d-b38d-7e7c259be583"
"__uuid__": "9c2bca4e-622f-40ef-95ab-477dfad4f10d"
},
"_N$dragonAtlasAsset": {
"__uuid__": "9b3a5033-22d2-45da-adc1-72b4f923d49f"
"__uuid__": "a64cc464-38e6-4ae8-a712-859896f7b052"
},
"_N$_defaultArmatureIndex": 0,
"_N$_animationIndex": 1,
......@@ -1424,7 +1424,7 @@
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "33fc1308-9256-403d-a9fc-1567ef02f890"
"__uuid__": "3831f768-3f38-4e9f-a5de-08f753934b9b"
},
"_type": 0,
"_sizeMode": 0,
......@@ -1524,7 +1524,7 @@
"_srcBlendFactor": 1,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "b9d7ec09-fa5f-4f90-be2c-e8d035b0f74d"
"__uuid__": "ad794924-70ef-42ac-8b65-e0ce9c583619"
},
"_type": 0,
"_sizeMode": 1,
......@@ -1719,7 +1719,7 @@
"_srcBlendFactor": 1,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "e666ed9c-0ebf-4802-8d58-7473ddde1634"
"__uuid__": "8210db41-1c67-4fb4-91b9-942ac6e2c736"
},
"_type": 0,
"_sizeMode": 1,
......@@ -1980,7 +1980,7 @@
"_cacheMode": 0,
"playTimes": -1,
"premultipliedAlpha": false,
"_armatureKey": "42cb15db-315a-4d11-9814-0fe5f8808a72#b2242a6f-c54f-4b2d-8151-89a713576e41",
"_armatureKey": "dd3f4660-abba-4d05-b68a-7f296682a0ec#c024df40-b277-450c-bc20-3a798e3ba552",
"_accTime": 0,
"_playCount": 0,
"_frameCache": null,
......@@ -1988,10 +1988,10 @@
"_playing": false,
"_armatureCache": null,
"_N$dragonAsset": {
"__uuid__": "42cb15db-315a-4d11-9814-0fe5f8808a72"
"__uuid__": "dd3f4660-abba-4d05-b68a-7f296682a0ec"
},
"_N$dragonAtlasAsset": {
"__uuid__": "b2242a6f-c54f-4b2d-8151-89a713576e41"
"__uuid__": "c024df40-b277-450c-bc20-3a798e3ba552"
},
"_N$_defaultArmatureIndex": 0,
"_N$_animationIndex": 3,
......@@ -2344,7 +2344,7 @@
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "75bb0910-bb15-4daf-9a6d-6873c400a148"
"__uuid__": "ad3a6823-49d4-4727-88eb-edf01177dac6"
},
"_type": 0,
"_sizeMode": 1,
......@@ -2438,7 +2438,7 @@
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "75bb0910-bb15-4daf-9a6d-6873c400a148"
"__uuid__": "ad3a6823-49d4-4727-88eb-edf01177dac6"
},
"_type": 0,
"_sizeMode": 1,
......@@ -2532,7 +2532,7 @@
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "c2f5963d-2ed1-4add-91b8-f3c4ff0d893e"
"__uuid__": "c6bacce5-e404-43ed-8427-c591f4a63868"
},
"_type": 0,
"_sizeMode": 1,
......@@ -2564,7 +2564,7 @@
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "c2f5963d-2ed1-4add-91b8-f3c4ff0d893e"
"__uuid__": "c6bacce5-e404-43ed-8427-c591f4a63868"
},
"_type": 0,
"_sizeMode": 1,
......@@ -2747,7 +2747,7 @@
"_id": "29zXboiXFBKoIV4PQ2liTe"
},
{
"__type__": "0e7205TFJ1Pjogb2tsB2COD",
"__type__": "346dax9JLNCeKsqptH12Cb5",
"_name": "",
"_objFlags": 0,
"node": {
......@@ -3010,7 +3010,7 @@
},
"_enabled": true,
"_clip": {
"__uuid__": "d9be9283-652e-44da-98d6-680406e71a03"
"__uuid__": "e25692ac-8868-4fe5-84a8-abe036ca7c56"
},
"_volume": 1,
"_mute": false,
......@@ -3091,7 +3091,7 @@
},
"_enabled": true,
"_clip": {
"__uuid__": "a544c1e7-32f5-4754-95a2-823398db0dcc"
"__uuid__": "1e6de059-3d5b-4b2d-8c75-bf2f893e5534"
},
"_volume": 1,
"_mute": false,
......@@ -3172,7 +3172,7 @@
},
"_enabled": true,
"_clip": {
"__uuid__": "e87d3f15-54b2-4a37-9793-9923fa34fda9"
"__uuid__": "98e16e5f-9696-44cd-ae6b-971cd6819651"
},
"_volume": 1,
"_mute": false,
......@@ -3253,7 +3253,7 @@
},
"_enabled": true,
"_clip": {
"__uuid__": "7bf9c308-8dd5-411d-8770-ddc8341386d0"
"__uuid__": "ed13d68f-cbbf-43af-a2da-af01e160443a"
},
"_volume": 1,
"_mute": false,
......@@ -3334,7 +3334,7 @@
},
"_enabled": true,
"_clip": {
"__uuid__": "293ae196-a9b5-4da0-a0b6-597baa25f7b1"
"__uuid__": "e5629afa-7a7b-4b9a-9cb1-b8359f71de9e"
},
"_volume": 1,
"_mute": false,
......@@ -3415,7 +3415,7 @@
},
"_enabled": true,
"_clip": {
"__uuid__": "b733b7d3-4082-4320-9fe0-2ce28088b687"
"__uuid__": "53b3a274-1ab6-4d15-b5ab-09a3e6ccbf8d"
},
"_volume": 1,
"_mute": false,
......@@ -3496,7 +3496,7 @@
},
"_enabled": true,
"_clip": {
"__uuid__": "4d2df5f4-a774-4e06-a410-4e38195952ad"
"__uuid__": "43908257-affa-43d7-93a6-3c180346dbf7"
},
"_volume": 1,
"_mute": false,
......@@ -3577,7 +3577,7 @@
},
"_enabled": true,
"_clip": {
"__uuid__": "0d2dd7a8-9bc2-4cd5-a432-a13f8fb43033"
"__uuid__": "7e1a7e06-a937-49f9-8b08-43206689e89f"
},
"_volume": 1,
"_mute": false,
......@@ -3658,7 +3658,7 @@
},
"_enabled": true,
"_clip": {
"__uuid__": "d7ee13c8-7c6f-4ed4-bf81-c85ae91edfa9"
"__uuid__": "08715de0-3306-42ec-8135-faa0ff96b450"
},
"_volume": 1,
"_mute": false,
......@@ -3739,7 +3739,7 @@
},
"_enabled": true,
"_clip": {
"__uuid__": "fc2be55f-3d94-44e0-9ebf-09e0eaa47873"
"__uuid__": "3fb80606-61a5-4926-b848-8b64a3f79f91"
},
"_volume": 1,
"_mute": false,
......
{
"ver": "1.2.9",
"uuid": "074720a3-f261-4ae9-9af1-1adabd8f4c6d",
"uuid": "ac0ee50a-a1da-4958-bd03-4b426302a868",
"asyncLoadAssets": false,
"autoReleaseAssets": true,
"subMetas": {}
......
{
"ver": "1.0.8",
"uuid": "0e720e53-149d-4f8e-881b-dadb01d82383",
"uuid": "346dac7d-24b3-4278-ab2a-a6d1f5d826f9",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
......
{
"ver": "1.1.2",
"uuid": "b0c008bc-cf92-463b-8360-0984e13c2e4d",
"uuid": "511a3fe7-bb29-428f-ac55-654f8d98a23f",
"isBundle": false,
"bundleName": "",
"priority": 1,
......
{
"ver": "1.0.8",
"uuid": "c41b0e51-55d7-443c-af3a-b22c3dd9b9e5",
"uuid": "28a55698-684e-457e-a88c-4149e8010319",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
......
{
"ver": "1.0.8",
"uuid": "b54300af-b8e5-4b4e-aa2f-9ac1cef7b598",
"uuid": "1556f654-9913-4769-9754-7420a9c14d85",
"isPlugin": true,
"loadPluginInWeb": true,
"loadPluginInNative": true,
......
{
"ver": "1.0.8",
"uuid": "ade7af40-d56d-4087-bbc6-2888fef55353",
"uuid": "14d1296a-db53-4b6d-a35e-a62413060639",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
......
{
"ver": "1.1.2",
"uuid": "8ba21262-178f-4fa5-afc9-2c1dd50ba3ab",
"uuid": "cecbcb40-46f8-4dff-b4c9-b687dc193b5b",
"isBundle": false,
"bundleName": "",
"priority": 1,
......
{
"ver": "2.3.5",
"uuid": "6c8e488b-9cdf-4d20-89c5-4d432d8a2e23",
"uuid": "a46e63f1-2405-45be-a19d-97ba0fbc0937",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
......@@ -13,8 +13,8 @@
"subMetas": {
"bg_bg": {
"ver": "1.0.4",
"uuid": "95074812-ffd9-4326-9008-60a88279bd2e",
"rawTextureUuid": "6c8e488b-9cdf-4d20-89c5-4d432d8a2e23",
"uuid": "63da9804-8487-4ab4-9eb8-d8d4c00314fb",
"rawTextureUuid": "a46e63f1-2405-45be-a19d-97ba0fbc0937",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
......
{
"ver": "2.3.5",
"uuid": "e5d8b6de-dae4-4605-9f8f-8584b745b7f2",
"uuid": "969425ab-04e4-468a-86fb-e2187e217e55",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
......@@ -13,8 +13,8 @@
"subMetas": {
"bg_box_behind": {
"ver": "1.0.4",
"uuid": "83ae63f9-5160-4995-af20-110757bb4d21",
"rawTextureUuid": "e5d8b6de-dae4-4605-9f8f-8584b745b7f2",
"uuid": "adc578e0-7fc3-4b39-b9e0-2e85488eb0c5",
"rawTextureUuid": "969425ab-04e4-468a-86fb-e2187e217e55",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
......
{
"ver": "2.3.5",
"uuid": "66f6b898-e326-4bab-89e3-78997d049e47",
"uuid": "dafbd430-2df0-48c3-8aa8-ac6b59815934",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
......@@ -13,8 +13,8 @@
"subMetas": {
"bg_box_front": {
"ver": "1.0.4",
"uuid": "2b44a5d3-fe98-49c2-9099-8400d48c17c9",
"rawTextureUuid": "66f6b898-e326-4bab-89e3-78997d049e47",
"uuid": "8c3ceda1-7179-4e04-8a1e-0edf22c8590e",
"rawTextureUuid": "dafbd430-2df0-48c3-8aa8-ac6b59815934",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
......
{
"ver": "2.3.5",
"uuid": "40a7f7d6-3f30-46c7-b9e4-1d5fcfc0c648",
"uuid": "a9a85461-5132-45e6-9283-809cb4ef233a",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
......@@ -13,8 +13,8 @@
"subMetas": {
"bg_circle": {
"ver": "1.0.4",
"uuid": "75bb0910-bb15-4daf-9a6d-6873c400a148",
"rawTextureUuid": "40a7f7d6-3f30-46c7-b9e4-1d5fcfc0c648",
"uuid": "ad3a6823-49d4-4727-88eb-edf01177dac6",
"rawTextureUuid": "a9a85461-5132-45e6-9283-809cb4ef233a",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
......
{
"ver": "2.3.5",
"uuid": "e5a3f41e-df6e-4314-9db7-0771939bb4d6",
"uuid": "17780a52-602d-4e3e-b974-5427c53604bc",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
......@@ -13,8 +13,8 @@
"subMetas": {
"bg_deck": {
"ver": "1.0.4",
"uuid": "3d584bab-9dfe-4922-8dc7-821b4f063796",
"rawTextureUuid": "e5a3f41e-df6e-4314-9db7-0771939bb4d6",
"uuid": "aaa4f5d8-7cc2-43af-993b-3084aa7818ca",
"rawTextureUuid": "17780a52-602d-4e3e-b974-5427c53604bc",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
......
{
"ver": "2.3.5",
"uuid": "e6d712f3-3bc6-4a7b-a140-9016e0628f67",
"uuid": "4a7910e3-e517-4412-9486-1d66c6fd020c",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
......@@ -13,8 +13,8 @@
"subMetas": {
"btn_next": {
"ver": "1.0.4",
"uuid": "e666ed9c-0ebf-4802-8d58-7473ddde1634",
"rawTextureUuid": "e6d712f3-3bc6-4a7b-a140-9016e0628f67",
"uuid": "8210db41-1c67-4fb4-91b9-942ac6e2c736",
"rawTextureUuid": "4a7910e3-e517-4412-9486-1d66c6fd020c",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
......
{
"ver": "2.3.5",
"uuid": "87cc865a-7ac0-44b4-8919-3b01f815748f",
"uuid": "9d6ff4b6-18d5-4ea1-a6e4-a482921ddf26",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
......@@ -13,8 +13,8 @@
"subMetas": {
"btn_replay": {
"ver": "1.0.4",
"uuid": "c2f5963d-2ed1-4add-91b8-f3c4ff0d893e",
"rawTextureUuid": "87cc865a-7ac0-44b4-8919-3b01f815748f",
"uuid": "c6bacce5-e404-43ed-8427-c591f4a63868",
"rawTextureUuid": "9d6ff4b6-18d5-4ea1-a6e4-a482921ddf26",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
......
{
"ver": "2.3.5",
"uuid": "552ce11c-0f7d-4146-8c78-23fc7cd917cb",
"uuid": "2083449d-0cd0-4dcb-9794-5f0013d62a37",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
......@@ -13,8 +13,8 @@
"subMetas": {
"btn_return": {
"ver": "1.0.4",
"uuid": "70f3d2ee-ca1d-49fd-84dd-3cdc8164fba0",
"rawTextureUuid": "552ce11c-0f7d-4146-8c78-23fc7cd917cb",
"uuid": "692dd6ad-8a92-41a5-ad91-a1d3571597ba",
"rawTextureUuid": "2083449d-0cd0-4dcb-9794-5f0013d62a37",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
......
{
"ver": "2.3.5",
"uuid": "52a666fa-b2b9-41a0-8254-1ff8ef313a43",
"uuid": "b64c35a4-62b7-4016-a7e4-6727376209e9",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
......@@ -13,8 +13,8 @@
"subMetas": {
"btn_submit": {
"ver": "1.0.4",
"uuid": "b9d7ec09-fa5f-4f90-be2c-e8d035b0f74d",
"rawTextureUuid": "52a666fa-b2b9-41a0-8254-1ff8ef313a43",
"uuid": "ad794924-70ef-42ac-8b65-e0ce9c583619",
"rawTextureUuid": "b64c35a4-62b7-4016-a7e4-6727376209e9",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
......
{
"ver": "1.1.2",
"uuid": "77e39803-4b9e-4735-aad5-98a2054bca4d",
"uuid": "969e1883-0641-4e64-aca6-33751bf64037",
"isBundle": false,
"bundleName": "",
"priority": 1,
......
{
"ver": "2.3.5",
"uuid": "3c28c3e3-3241-4a69-a8cc-c69596312b21",
"uuid": "cb3d1957-2d38-4fa6-b288-3f74be98f212",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
......@@ -13,8 +13,8 @@
"subMetas": {
"bg_bg": {
"ver": "1.0.4",
"uuid": "97f1d65d-ea03-4276-acd5-7fc3ebbb125c",
"rawTextureUuid": "3c28c3e3-3241-4a69-a8cc-c69596312b21",
"uuid": "4c382c5d-0204-416a-abee-2642b026c231",
"rawTextureUuid": "cb3d1957-2d38-4fa6-b288-3f74be98f212",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
......
{
"ver": "2.3.5",
"uuid": "8823c170-967d-416f-b65b-f297baa16bb2",
"uuid": "73c63e59-2890-44b8-9d03-55334c90d7d6",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
......@@ -13,8 +13,8 @@
"subMetas": {
"bg_box_behind": {
"ver": "1.0.4",
"uuid": "b793b0d3-fd30-4d34-8264-28821c329c1d",
"rawTextureUuid": "8823c170-967d-416f-b65b-f297baa16bb2",
"uuid": "a1e69992-0c62-4855-967d-8ca1d7d42921",
"rawTextureUuid": "73c63e59-2890-44b8-9d03-55334c90d7d6",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
......
{
"ver": "2.3.5",
"uuid": "964bbe0d-3431-4e1b-a704-db4a78fe0fac",
"uuid": "4d964910-e601-47df-b644-3aa1c5eee4f8",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
......@@ -13,8 +13,8 @@
"subMetas": {
"bg_box_front": {
"ver": "1.0.4",
"uuid": "33fc1308-9256-403d-a9fc-1567ef02f890",
"rawTextureUuid": "964bbe0d-3431-4e1b-a704-db4a78fe0fac",
"uuid": "3831f768-3f38-4e9f-a5de-08f753934b9b",
"rawTextureUuid": "4d964910-e601-47df-b644-3aa1c5eee4f8",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
......
{
"ver": "2.3.5",
"uuid": "cce12600-aa0b-43dd-a056-21100aeea8db",
"uuid": "5201eabe-3e5e-44b9-851a-a18f69aa8632",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
......@@ -13,8 +13,8 @@
"subMetas": {
"bg_deck": {
"ver": "1.0.4",
"uuid": "a6e219f9-4946-4b9b-b638-6e160a0df435",
"rawTextureUuid": "cce12600-aa0b-43dd-a056-21100aeea8db",
"uuid": "65441924-3ffb-4c17-87af-714249b1a0c8",
"rawTextureUuid": "5201eabe-3e5e-44b9-851a-a18f69aa8632",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
......
{
"ver": "2.3.5",
"uuid": "17449abf-084e-4208-adbf-2d4aa25dbfc0",
"uuid": "62935e89-8808-49d4-b9a5-12cef408052c",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
......@@ -13,8 +13,8 @@
"subMetas": {
"bg_left": {
"ver": "1.0.4",
"uuid": "3468d78d-e7e3-4876-b449-64423a774323",
"rawTextureUuid": "17449abf-084e-4208-adbf-2d4aa25dbfc0",
"uuid": "8ac16e19-d456-4670-83fe-c0d01a5774ee",
"rawTextureUuid": "62935e89-8808-49d4-b9a5-12cef408052c",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
......
{
"ver": "2.3.5",
"uuid": "3ce8ae56-e8e5-4fd2-9660-2a74a4c039e8",
"uuid": "3efcdd67-ac4f-4518-b44a-a0e81adeda3a",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
......@@ -13,8 +13,8 @@
"subMetas": {
"bg_right": {
"ver": "1.0.4",
"uuid": "e84554ff-b59e-49a7-a7cd-f573b0a828c2",
"rawTextureUuid": "3ce8ae56-e8e5-4fd2-9660-2a74a4c039e8",
"uuid": "ac67ae4c-797d-4bcd-9038-84459721c48f",
"rawTextureUuid": "3efcdd67-ac4f-4518-b44a-a0e81adeda3a",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
......
{
"ver": "2.3.5",
"uuid": "ee21a24d-a03f-4280-8dd7-99ffa7531c19",
"uuid": "1be9143f-fa38-4cbe-9e47-32d5d2812c79",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
......@@ -13,8 +13,8 @@
"subMetas": {
"bg_top": {
"ver": "1.0.4",
"uuid": "87675918-d434-4db9-8ce4-228f911d989e",
"rawTextureUuid": "ee21a24d-a03f-4280-8dd7-99ffa7531c19",
"uuid": "112705ab-2ffe-407a-9495-fb672e9f592a",
"rawTextureUuid": "1be9143f-fa38-4cbe-9e47-32d5d2812c79",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
......
const { spawn } = require("child_process");
const fs = require("fs");
const compressing = require('compressing');
const { v4, parse } = require('uuid');
const { Base64 } = require('js-base64');
const { copyDir, removeDir, fix2 } = require("./utils");
const { spawn } = require("child_process");
const fs = require("fs");
const compressing = require('compressing');
const { v4, parse } = require('uuid');
const { Base64 } = require('js-base64');
const { copyDir, removeDir, fix2 } = require("./utils");
async function buildForm() {
const paths = fs.readdirSync('form');
......@@ -52,7 +52,7 @@ function execCmd(cmd, params, path) {
}
let creatorBasePath = 'CocosCreator';
let creatorBasePath = 'D:\\work\\CocosDashboard_1.0.9\\resources\\.editors\\Creator\\2.4.5\\CocosCreator.exe';
if (process.platform !== 'win32') {
creatorBasePath = "/Applications/CocosCreator/Creator/2.4.5/CocosCreator.app/Contents/MacOS/CocosCreator";
}
......@@ -128,10 +128,10 @@ async function buildWebBundle() {
await buildCocos(args);
}
function createConfigFile (projectName, type) {
function createConfigFile(projectName, type) {
let iosVersion = "";
let androidVersion = "";
if(!type){
if (!type) {
const androidPaths = fs.readdirSync(`dist/android/${projectName}`);
const androidConfigFileName = androidPaths.find(path => path.indexOf('config') == 0);
androidVersion = androidConfigFileName.split('.')[1];
......@@ -139,17 +139,17 @@ function createConfigFile (projectName, type) {
const iosConfigFileName = iosPaths.find(path => path.indexOf('config') == 0);
iosVersion = iosConfigFileName.split('.')[1];
} else {
if(type=="android"){
if (type == "android") {
const androidPaths = fs.readdirSync(`dist/android/${projectName}`);
const androidConfigFileName = androidPaths.find(path => path.indexOf('config') == 0);
androidVersion = androidConfigFileName.split('.')[1];
}else{
} else {
const iosPaths = fs.readdirSync(`dist/ios/${projectName}`);
const iosConfigFileName = iosPaths.find(path => path.indexOf('config') == 0);
iosVersion = iosConfigFileName.split('.')[1];
}
}
const config = {
"ios": {
"sceneName": projectName,
......@@ -164,7 +164,7 @@ function createConfigFile (projectName, type) {
fs.writeFileSync('dist/config.json', JSON.stringify(config));
}
function compressAll (projectName) {
function compressAll(projectName) {
const tarStream = new compressing.zip.Stream();
tarStream.addEntry('dist/play');
tarStream.addEntry('dist/form');
......@@ -176,7 +176,7 @@ function compressAll (projectName) {
tarStream.pipe(destStream);
}
function build_check () {
function build_check() {
const dirNames = process.cwd().split(/\/|\\/);
const projectName = dirNames[dirNames.length - 1];
const path = 'assets'
......@@ -211,58 +211,22 @@ function build_check () {
return projectName;
}
function changeSettingToWebDesktop () {
function changeSettingToWebDesktop() {
const path = 'assets'
const folderName = getFolderName(path);
editFolderMeta(path, folderName, false);
}
function changeSettingsToBundle () {
function changeSettingsToBundle() {
const path = 'assets'
const folderName = getFolderName(path);
editFolderMeta(path, folderName, true);
}
function replaceUuids () {
async function replaceUuids() {
console.log('build_step_0 开始~!');
const path = 'assets'
function getFolderName(path) {
let folderName = '';
fs.readdirSync(path).find(fileName => {
const st = fs.statSync(`${path}/${fileName}`);
if (st.isDirectory()) {
folderName = fileName;
}
});
return folderName;
}
const folderName = getFolderName(path);
let oldFireUuid = '';
let oldJsUuid = '';
let oldJsShortUuid = '';
let oldJsId = '';
const fireMetaStr = fs.readFileSync(`assets/${folderName}/scene/${folderName}.fire.meta`);
if (fireMetaStr.indexOf('57ea7c61-9b8b-498a-b024-c98ee9124beb') > 0) {
// 老Cocos脚手架
oldFireUuid = '57ea7c61-9b8b-498a-b024-c98ee9124beb';
oldJsUuid = 'f4ede462-f8d7-4069-ba80-915611c058ca';
oldJsShortUuid = 'f4edeRi+NdAabqAkVYRwFjK';
oldJsId = 'e687yyoRBIzZAOVRL8Sseh';
}
if (fireMetaStr.indexOf('0737ce42-24f0-45c6-8e1a-8bdab4f74ba3') > 0) {
// 新Cocos脚手架
oldFireUuid = '0737ce42-24f0-45c6-8e1a-8bdab4f74ba3';
oldJsUuid = '408a67f8-65fa-4cf1-8cf2-83e20e1a0fd5';
oldJsShortUuid = '408a6f4ZfpM8Yzyg+IOGg/V';
oldJsId = 'eaTVUpqahPfZeO9+sUI7RP';
}
if (oldFireUuid === '') {
return;
}
function editFolderMeta(path, folderName) {
const metaPath = `${path}/${folderName}.meta`;
const metaDataStr = fs.readFileSync(metaPath);
......@@ -274,7 +238,6 @@ function replaceUuids () {
if (!fs.existsSync(path)) {
return;
}
const fileStr = fs.readFileSync(path);
const newFileStr = fileStr.toString().replace(new RegExp(replaceStr.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"), 'g'), newStr);
fs.writeFileSync(path, newFileStr);
......@@ -284,26 +247,92 @@ function replaceUuids () {
return uuid.substring(0, 5) + Base64.fromUint8Array(bytes).substring(2);
}
editFolderMeta(path, folderName);
const path = 'assets'
function getFolderName(path) {
let folderName = '';
fs.readdirSync(path).find(fileName => {
const st = fs.statSync(`${path}/${fileName}`);
if (st.isDirectory()) {
folderName = fileName;
}
});
return folderName;
}
const newFireUuid = v4();
fileReplace(`assets/${folderName}/scene/${folderName}.fire.meta`, oldFireUuid, newFireUuid);
fileReplace(`assets/${folderName}/scene/${folderName}.fire`, oldFireUuid, newFireUuid);
fileReplace('settings/builder.json', oldFireUuid, newFireUuid);
async function fileForEach(src, func) {
//读取目录
const st = fs.statSync(src);
if (st.isFile()) {
await func(src);
return;
}
const paths = fs.readdirSync(src);
for (let i = 0; i < paths.length; i++) {
let path = paths[i];
const newSrc = `${src}/${path}`;
const st = fs.statSync(newSrc);
if (st.isFile()) {
await func(newSrc);
} else if (st.isDirectory()) {
await fileForEach(newSrc, func);
}
}
}
function createUuidData(uuid) {
const shortUuid = getShortUuid(uuid);
const newUuid = v4();
const newShortUuid = getShortUuid(newUuid);
return {
oldUuid: uuid,
oldShortUuid: shortUuid,
newUuid: newUuid,
newShortUuid: newShortUuid,
};
}
const newJsUuid = v4();
const newJsShortUuid = getShortUuid(newJsUuid);
const newJsId = v4().replace(/-/g, '').substring(0, oldJsId.length);
fileReplace(`assets/${folderName}/scene/${folderName}.ts.meta`, oldJsUuid, newJsUuid);
fileReplace(`assets/${folderName}/scene/${folderName}.js.meta`, oldJsUuid, newJsUuid);
fileReplace(`assets/${folderName}/scene/${folderName}.fire`, oldFireUuid, newFireUuid);
fileReplace(`assets/${folderName}/scene/${folderName}.fire`, oldJsShortUuid, newJsShortUuid);
fileReplace(`assets/${folderName}/scene/${folderName}.fire`, oldJsId, newJsId);
const uuidList = [];
await fileForEach(path, (path) => {
const nameList = path.split('.');
if (nameList[nameList.length - 1] == 'meta') {
const data = JSON.parse(fs.readFileSync(path));
uuidList.push(createUuidData(data.uuid));
if (data.subMetas) {
for (const key in data.subMetas) {
const subMet = data.subMetas[key];
if (subMet.uuid) {
uuidList.push(createUuidData(subMet.uuid));
}
}
}
}
});
const pathList = [path, 'settings', 'project.json'];
for (let i = 0; i < pathList.length; i++) {
const path = pathList[i];
await fileForEach(path, (path) => {
const nameList = path.split('.');
const expectNameList = ['png', 'jpg', 'mp3', 'wav'];
if (expectNameList.includes(nameList[nameList.length - 1])) {
return;
}
const data = fs.readFileSync(path);
uuidList.forEach(uuiddata => {
if (data.includes(uuiddata.oldUuid)) {
fileReplace(path, uuiddata.oldUuid, uuiddata.newUuid);
}
if (data.includes(uuiddata.oldShortUuid)) {
fileReplace(path, uuiddata.oldShortUuid, uuiddata.newShortUuid);
}
});
});
}
console.log('build_step_0 完成~!');
}
function replaceIndexHtml () {
function replaceIndexHtml() {
const data = fs.readFileSync('index.html');
fs.writeFileSync('dist/play/index.html', data);
}
......@@ -313,63 +342,63 @@ module.exports = {
build: async function () {
const startTime = new Date().getTime();
// 构建前检查
const projectName = build_check();
// 清理旧文件
// 构建form
await removeDir('dist/form');
await buildForm();
// await removeDir('dist/form');
// await buildForm();
// 替换uuid
replaceUuids();
// 改设置为非bundle
changeSettingToWebDesktop();
// 构建play
await removeDir('dist/play');
await buildWebDesktop();
await copyDir('build/web-desktop', 'dist/play');
replaceIndexHtml();
console.log('构建 web desktop 成功!');
// 改设置为bundle
changeSettingsToBundle();
await removeDir('dist/android');
await buildAndroidBundle();
await copyDir('build_android/jsb-link/remote', 'dist/android');
console.log('构建 android bundle 成功!');
await removeDir('dist/ios');
await buildIosBundle();
await copyDir('build_ios/jsb-link/remote', 'dist/ios');
console.log('构建 ios bundle 成功!');
await removeDir('dist/web_desktop');
await buildWebBundle();
await copyDir(`build_web_desktop/web-desktop/assets/${projectName}`, 'dist/web_desktop');
console.log('构建 web bundle 成功!');
await replaceUuids();
// 改设置为非bundle
changeSettingToWebDesktop();
createConfigFile(projectName);
compressAll(projectName);
// changeSettingToWebDesktop();
await removeDir('build');
await removeDir('build_android');
await removeDir('build_ios');
await removeDir('build_web_desktop');
// // 构建play
// await removeDir('dist/play');
// await buildWebDesktop();
// await copyDir('build/web-desktop', 'dist/play');
// replaceIndexHtml();
// console.log('构建 web desktop 成功!');
// // 改设置为bundle
// changeSettingsToBundle();
// await removeDir('dist/android');
// await buildAndroidBundle();
// await copyDir('build_android/jsb-link/remote', 'dist/android');
// console.log('构建 android bundle 成功!');
const endTime = new Date().getTime();
const duration = new Date(endTime - startTime);
console.log(`打包完成!`);
console.log(`用时${duration.getMinutes()}${duration.getSeconds()}秒。`);
// await removeDir('dist/ios');
// await buildIosBundle();
// await copyDir('build_ios/jsb-link/remote', 'dist/ios');
// console.log('构建 ios bundle 成功!');
// await removeDir('dist/web_desktop');
// await buildWebBundle();
// await copyDir(`build_web_desktop/web-desktop/assets/${projectName}`, 'dist/web_desktop');
// console.log('构建 web bundle 成功!');
// // 改设置为非bundle
// changeSettingToWebDesktop();
// createConfigFile(projectName);
// compressAll(projectName);
// await removeDir('build');
// await removeDir('build_android');
// await removeDir('build_ios');
// await removeDir('build_web_desktop');
// const endTime = new Date().getTime();
// const duration = new Date(endTime - startTime);
// console.log(`打包完成!`);
// console.log(`用时${duration.getMinutes()}分${duration.getSeconds()}秒。`);
},
buildAndroid: async function () {
......@@ -377,14 +406,14 @@ module.exports = {
// 构建前检查
const projectName = build_check();
// 替换uuid
replaceUuids();
await replaceUuids();
// 改设置为bundle
changeSettingsToBundle();
await removeDir('dist/android');
await buildAndroidBundle();
await copyDir('build_android/jsb-link/remote', 'dist/android');
// 改设置为非bundle
changeSettingToWebDesktop();
createConfigFile(projectName, "android");
......@@ -397,10 +426,10 @@ module.exports = {
// 构建前检查
const projectName = build_check();
// 替换uuid
replaceUuids();
await replaceUuids();
// 改设置为bundle
changeSettingsToBundle();
await removeDir('dist/ios');
await buildIosBundle();
await copyDir('build_ios/jsb-link/remote', 'dist/ios');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment