File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ async function run() {
2424
2525 if ( ! buildMethod ) {
2626 buildMethod = 'kuler90.BuildCommand.Build' ;
27- const src = path . join ( __dirname , 'BuildCommand.cs' )
27+ const src = path . join ( __dirname , 'BuildCommand.cs' ) ;
2828 const dest = path . join ( projectPath , 'Assets/kuler90/Editor' ) ;
2929 await io . mkdirP ( dest ) ;
3030 await io . cp ( src , dest ) ;
@@ -33,9 +33,7 @@ async function run() {
3333 let unityCmd = '' ;
3434 if ( process . platform === 'linux' ) {
3535 unityCmd = `xvfb-run --auto-servernum "${ unityPath } "` ;
36- } else if ( process . platform === 'darwin' ) {
37- unityCmd = `"${ unityPath } "` ;
38- } else if ( process . platform === 'win32' ) {
36+ } else {
3937 unityCmd = `"${ unityPath } "` ;
4038 }
4139
@@ -67,7 +65,7 @@ async function run() {
6765 buildArgs += ` -androidKeyaliasPass "${ androidKeyaliasPass } "` ;
6866 }
6967
70- await exec . exec ( `${ unityCmd } -batchmode -nographics -quit -logFile ${ buildArgs } ` ) ;
68+ await exec . exec ( `${ unityCmd } -batchmode -nographics -quit -logFile "-" ${ buildArgs } ` ) ;
7169
7270 core . setOutput ( 'build-path' , buildPath ) ;
7371 } catch ( error ) {
You can’t perform that action at this time.
0 commit comments