diff --git a/bin/buildCocos.js b/bin/buildCocos.js index def408487f423cdd73d4cadf48bf895c2e97cce4..475a1649d18ef13e3c7ee8a133635590b6851782 100644 --- a/bin/buildCocos.js +++ b/bin/buildCocos.js @@ -52,7 +52,7 @@ 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"; }