Commit 5908645f authored by 张世斌's avatar 张世斌

aa

parent 81992d84
......@@ -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 = 'CocosCreator';
if (process.platform !== 'win32') {
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) {
return new Promise((resolve, reject) => {
const buffer = spawn(
......
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