Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
Coloring_OL
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
template admin
Coloring_OL
Commits
5908645f
Commit
5908645f
authored
Mar 24, 2022
by
张世斌
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
aa
parent
81992d84
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
5 deletions
+2
-5
defaultData.js
assets/Coloring_OL/script/defaultData.js
+1
-1
buildCocos.js
bin/buildCocos.js
+1
-4
No files found.
assets/Coloring_OL/script/defaultData.js
View file @
5908645f
...
@@ -13,6 +13,6 @@ export const defaultData =
...
@@ -13,6 +13,6 @@ export const defaultData =
},
},
],
],
"
time
"
:
"
10
"
,
"
time
"
:
"
10
"
,
"
audio_url
"
:
""
,
"
audio_url
"
:
""
,
"
title
"
:
""
"
title
"
:
""
}
}
bin/buildCocos.js
View file @
5908645f
...
@@ -52,13 +52,10 @@ function execCmd(cmd, params, path) {
...
@@ -52,13 +52,10 @@ function execCmd(cmd, params, path) {
}
}
let
creatorBasePath
=
'
C
:
\\
CocosDashboard_1.0.6
\\
resources
\\
.editors
\\
Creator
\\
2.4.5
\\
CocosCreator.exe
'
;
let
creatorBasePath
=
'
C
ocosCreator
'
;
if
(
process
.
platform
!==
'
win32
'
)
{
if
(
process
.
platform
!==
'
win32
'
)
{
creatorBasePath
=
"
/Applications/CocosCreator/Creator/2.4.5/CocosCreator.app/Contents/MacOS/CocosCreator
"
;
creatorBasePath
=
"
/Applications/CocosCreator/Creator/2.4.5/CocosCreator.app/Contents/MacOS/CocosCreator
"
;
}
}
else
{
creatorBasePath
=
"
C:
\\
Tools
\\
CocosDashboard_1.0.20
\\
resources
\\
.editors
\\
Creator
\\
2.4.5
\\
CocosCreator.exe
"
;
}
const
buildCocos
=
function
(
args
)
{
const
buildCocos
=
function
(
args
)
{
return
new
Promise
((
resolve
,
reject
)
=>
{
return
new
Promise
((
resolve
,
reject
)
=>
{
const
buffer
=
spawn
(
const
buffer
=
spawn
(
...
...
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