File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -97,8 +97,8 @@ module.exports = function(gulp) {
9797 cmd = zip + ' x "' + process . env . PTOR_BINARY + '" -o' + targetFolder + ' -ry' ;
9898 process . env . PTOR_BINARY = path . join ( buildFolder , 'target' ) ;
9999 } else if ( process . platform === 'darwin' ) {
100- targetFolder = 'dist ' ;
101- cmd = 'unzip -o ' + '"' + process . env . PTOR_BINARY + '" -d ' + targetFolder ;
100+ targetFolder = '/Volumes/devsuite ' ;
101+ cmd = `hdiutil attach -mountpoint ${ targetFolder } ' ${ process . env . PTOR_BINARY } '` ;
102102 process . env . PTOR_BINARY = path . join ( targetFolder , 'Red\ Hat\ Development\ Suite\ Installer.app' , 'Contents' ) ;
103103 }
104104
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ var chromeArgs = [];
1818if ( process . env . PTOR_TEST_RUN === 'system' ) {
1919 files = [ 'test/system/system-test.js' ] ;
2020 report = path . join ( __dirname , 'system-tests' ) ;
21- executable = path . join ( __dirname , process . env . PTOR_BINARY ) ;
21+ executable = path . join ( process . platform === 'win32' ? __dirname : '' , process . env . PTOR_BINARY ) ;
2222 chromeArgs . push ( executable ) ;
2323 if ( process . platform === 'win32' ) {
2424 executable = path . join ( executable , 'devsuite.exe' ) ;
You can’t perform that action at this time.
0 commit comments