Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
TNGD_CaveCruiser
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
SparkProjects
TNGD_CaveCruiser
Commits
3037aee5
Commit
3037aee5
authored
Aug 29, 2024
by
haiyoucuv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
上传
parent
072d12ca
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
59 additions
and
55 deletions
+59
-55
buildConfig_web-mobile.json
build-templates/buildConfig_web-mobile.json
+24
-13
index.html
build/web-mobile/index.html
+9
-14
builder.js
extensions/duiba-publish/dist/builder.js
+13
-14
builder.ts
extensions/duiba-publish/source/builder.ts
+13
-14
No files found.
build-templates/buildConfig_web-mobile.json
View file @
3037aee5
...
...
@@ -33,18 +33,13 @@
"bundle"
:
"db://assets/Bundles/MainGame"
},
{
"url"
:
"db://assets/resources/HomeScene/HomeScene.scene"
,
"uuid"
:
"04224ebd-adcd-4112-8010-da14ed5ea48a"
,
"bundle"
:
"db://assets/resources"
},
{
"url"
:
"db://assets/resources/RankScene/RankScene.scene"
,
"uuid"
:
"142a15c2-32b0-4d2d-a914-184ade916275"
,
"url"
:
"db://assets/resources/GuideScene/GuideScene.scene"
,
"uuid"
:
"5d6e4c61-d0d4-48df-a049-e0eb6fcaa065"
,
"bundle"
:
"db://assets/resources"
},
{
"url"
:
"db://assets/resources/
RecordScene/Record
Scene.scene"
,
"uuid"
:
"
f07b2151-c5cb-4ca8-9296-54d49ddf1a0
a"
,
"url"
:
"db://assets/resources/
HomeScene/Home
Scene.scene"
,
"uuid"
:
"
04224ebd-adcd-4112-8010-da14ed5ea48
a"
,
"bundle"
:
"db://assets/resources"
}
],
...
...
@@ -63,7 +58,7 @@
"otherAFPDomain"
:
""
},
"web-mobile"
:
{
"orientation"
:
"
portrait
"
,
"orientation"
:
"
auto
"
,
"embedWebDebugger"
:
false
,
"cullEngineAsmJsModule"
:
false
,
"__version__"
:
"1.0.1"
...
...
@@ -74,11 +69,27 @@
"__version__"
:
"3.0.7"
},
"duiba-publish"
:
{
"uploadDir"
:
"template3d"
,
"__version__"
:
"1.0.0"
"uploadDir"
:
"TNGD_GAMES/Cave_Cruiser"
,
"__version__"
:
"1.0.0"
,
"region"
:
"oss-cn-hangzhou"
,
"bucket"
:
"duiba-credits-test"
,
"accessKeyId"
:
"LTAI5tFiyBroYqzgu6d6E3Sz"
,
"accessKeySecret"
:
"aEpPaVnxnicK6iwzcJTUpzGhCghSt0"
}
},
"__version__"
:
"1.3.7"
,
"buildMode"
:
"normal"
,
"logDest"
:
"project://temp/builder/log/web-mobile1-15-2024 18-54.log"
"logDest"
:
"project://temp/builder/log/web-mobile1-15-2024 18-54.log"
,
"overwriteProjectSettings"
:
{
"includeModules"
:
{
"physics"
:
"inherit-project-setting"
,
"physics-2d"
:
"inherit-project-setting"
,
"gfx-webgl2"
:
"inherit-project-setting"
},
"macroConfig"
:
{
"cleanupImageCache"
:
"inherit-project-setting"
}
},
"nativeCodeBundleMode"
:
"both"
,
"wasmCompressionMode"
:
false
}
\ No newline at end of file
build/web-mobile/index.html
View file @
3037aee5
...
...
@@ -33,14 +33,12 @@
<!--<link rel="apple-touch-icon" href=".png" />-->
<!--<link rel="apple-touch-icon-precomposed" href=".png" />-->
<script
src=
"//duiba-credits-test.oss-cn-hangzhou.aliyuncs.com/TNGD_GAMES/Cave_Cruiser/1724
897265721
/src/assets/plugin/zepto.min.js"
></script>
<script
src=
"//duiba-credits-test.oss-cn-hangzhou.aliyuncs.com/TNGD_GAMES/Cave_Cruiser/1724
897265721
/src/assets/plugin/declare-process.js"
></script>
<script
src=
"//duiba-credits-test.oss-cn-hangzhou.aliyuncs.com/TNGD_GAMES/Cave_Cruiser/1724
897265721
/src/assets/plugin/SVGA.Lite.v2.1.1.js"
></script>
<script
src=
"//duiba-credits-test.oss-cn-hangzhou.aliyuncs.com/TNGD_GAMES/Cave_Cruiser/1724
901263842
/src/assets/plugin/zepto.min.js"
></script>
<script
src=
"//duiba-credits-test.oss-cn-hangzhou.aliyuncs.com/TNGD_GAMES/Cave_Cruiser/1724
901263842
/src/assets/plugin/declare-process.js"
></script>
<script
src=
"//duiba-credits-test.oss-cn-hangzhou.aliyuncs.com/TNGD_GAMES/Cave_Cruiser/1724
901263842
/src/assets/plugin/SVGA.Lite.v2.1.1.js"
></script>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"//duiba-credits-test.oss-cn-hangzhou.aliyuncs.com/TNGD_GAMES/Cave_Cruiser/1724897265721/style.css"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"//duiba-credits-test.oss-cn-hangzhou.aliyuncs.com/TNGD_GAMES/Cave_Cruiser/1724897265721/custom.css"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"//duiba-credits-test.oss-cn-hangzhou.aliyuncs.com/TNGD_GAMES/Cave_Cruiser/1724901263842/style.css"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"//duiba-credits-test.oss-cn-hangzhou.aliyuncs.com/TNGD_GAMES/Cave_Cruiser/1724901263842/custom.css"
/>
<script
type=
"text/javascript"
src=
"https://appx/web-view.min.js"
></script>
...
...
@@ -53,19 +51,16 @@
</div>
<!-- Polyfills bundle. -->
<script
src=
"//duiba-credits-test.oss-cn-hangzhou.aliyuncs.com/TNGD_GAMES/Cave_Cruiser/1724897265721/src/polyfills.bundle.js"
charset=
"utf-8"
></script>
<script
src=
"//duiba-credits-test.oss-cn-hangzhou.aliyuncs.com/TNGD_GAMES/Cave_Cruiser/1724901263842/src/polyfills.bundle.js"
charset=
"utf-8"
></script>
<!-- SystemJS support. -->
<script
src=
"//duiba-credits-test.oss-cn-hangzhou.aliyuncs.com/TNGD_GAMES/Cave_Cruiser/1724897265721/src/system.bundle.js"
charset=
"utf-8"
></script>
<script
src=
"//duiba-credits-test.oss-cn-hangzhou.aliyuncs.com/TNGD_GAMES/Cave_Cruiser/1724901263842/src/system.bundle.js"
charset=
"utf-8"
></script>
<!-- Import map -->
<script
src=
"//duiba-credits-test.oss-cn-hangzhou.aliyuncs.com/TNGD_GAMES/Cave_Cruiser/1724897265721/src/import-map.json"
type=
"systemjs-importmap"
charset=
"utf-8"
></script>
<script
src=
"//duiba-credits-test.oss-cn-hangzhou.aliyuncs.com/TNGD_GAMES/Cave_Cruiser/1724901263842/src/import-map.json"
type=
"systemjs-importmap"
charset=
"utf-8"
></script>
<script>
System
.
import
(
'//duiba-credits-test.oss-cn-hangzhou.aliyuncs.com/TNGD_GAMES/Cave_Cruiser/1724
897265721
/index.js'
).
catch
(
function
(
err
)
{
System
.
import
(
'//duiba-credits-test.oss-cn-hangzhou.aliyuncs.com/TNGD_GAMES/Cave_Cruiser/1724
901263842
/index.js'
).
catch
(
function
(
err
)
{
console
.
error
(
err
);
})
</script>
...
...
extensions/duiba-publish/dist/builder.js
View file @
3037aee5
...
...
@@ -11,7 +11,7 @@ const unload = function () {
exports
.
unload
=
unload
;
const
PACKAGE_NAME
=
'duiba-publish'
;
exports
.
configs
=
{
'
*
'
:
{
'
web-mobile
'
:
{
hooks
:
'./hooks'
,
doc
:
'editor/publish/custom-build-plugin.html'
,
options
:
{
...
...
@@ -27,6 +27,18 @@ exports.configs = {
},
verifyRules
:
[
'required'
]
},
region
:
{
label
:
'region'
,
description
:
'region'
,
default
:
'oss-cn-hangzhou'
,
render
:
{
ui
:
'ui-input'
,
attributes
:
{
placeholder
:
'region'
,
},
},
verifyRules
:
[
'required'
]
},
bucket
:
{
label
:
'bucket'
,
description
:
'bucket'
,
...
...
@@ -65,19 +77,6 @@ exports.configs = {
},
verifyRules
:
[
'required'
]
},
region
:
{
label
:
'region'
,
description
:
'region'
,
default
:
'oss-cn-hangzhou'
,
render
:
{
ui
:
'ui-input'
,
attributes
:
{
password
:
true
,
placeholder
:
'region'
,
},
},
verifyRules
:
[
'required'
]
},
},
},
};
extensions/duiba-publish/source/builder.ts
View file @
3037aee5
...
...
@@ -11,7 +11,7 @@ export const unload: BuildPlugin.load = function() {
const
PACKAGE_NAME
=
'duiba-publish'
;
export
const
configs
:
BuildPlugin
.
Configs
=
{
'
*
'
:
{
'
web-mobile
'
:
{
hooks
:
'./hooks'
,
doc
:
'editor/publish/custom-build-plugin.html'
,
options
:
{
...
...
@@ -27,6 +27,18 @@ export const configs: BuildPlugin.Configs = {
},
verifyRules
:
[
'required'
]
},
region
:
{
label
:
'region'
,
description
:
'region'
,
default
:
'oss-cn-hangzhou'
,
render
:
{
ui
:
'ui-input'
,
attributes
:
{
placeholder
:
'region'
,
},
},
verifyRules
:
[
'required'
]
},
bucket
:
{
label
:
'bucket'
,
description
:
'bucket'
,
...
...
@@ -65,19 +77,6 @@ export const configs: BuildPlugin.Configs = {
},
verifyRules
:
[
'required'
]
},
region
:
{
label
:
'region'
,
description
:
'region'
,
default
:
'oss-cn-hangzhou'
,
render
:
{
ui
:
'ui-input'
,
attributes
:
{
password
:
true
,
placeholder
:
'region'
,
},
},
verifyRules
:
[
'required'
]
},
},
},
};
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment