@@ -80,11 +80,11 @@ function platformIsActive(osArch) {
8080// TASKS
8181gulp . task ( 'set-variables-mist' , ( ) => {
8282 type = 'mist' ;
83- applicationName = 'Mist' ;
83+ applicationName = 'Ethereum Classic Mist' ;
8484} ) ;
8585gulp . task ( 'set-variables-wallet' , ( ) => {
8686 type = 'wallet' ;
87- applicationName = 'Ethereum Wallet' ;
87+ applicationName = 'Ethereum Classic Wallet' ;
8888} ) ;
8989
9090
@@ -129,6 +129,11 @@ gulp.task('copy-app-folder-files', ['copy-app-source-files'], (done) => {
129129
130130
131131gulp . task ( 'copy-build-folder-files' , [ 'clean:dist' , 'copy-app-folder-files' ] , ( ) => {
132+ //fix not generating icons
133+ gulp . src ( [ `./icons/${ type } /icons/*` ] , { base : './' } )
134+ . pipe ( flatten ( ) )
135+ . pipe ( gulp . dest ( `./dist_${ type } /build/icons` ) ) ;
136+
132137 return gulp . src ( [
133138 `./icons/${ type } /*` ,
134139 './interface/public/images/dmg-background.jpg' ,
@@ -218,7 +223,7 @@ gulp.task('build-dist', ['download-signatures', 'copy-i18n'], (cb) => {
218223 console . log ( 'Bundling platforms: ' , options . platform ) ;
219224
220225 const appPackageJson = _ . extend ( { } , packJson , {
221- name : applicationName . replace ( / \s / , '' ) ,
226+ name : applicationName . replace ( / \s / g , '' ) ,
222227 productName : applicationName ,
223228 description : applicationName ,
224229 homepage : 'https://github.com/ethereumproject/mist' ,
@@ -247,19 +252,21 @@ gulp.task('build-dist', ['download-signatures', 'copy-i18n'], (cb) => {
247252 ] ,
248253 } ,
249254 dmg : {
250- // background: '../build/dmg-background.jpg', //TODO
255+ background : '../build/dmg-background.jpg' ,
251256 'icon-size' : 128 ,
252- contents : [ {
253- x : 441 ,
254- y : 448 ,
255- type : 'link' ,
256- path : '/Applications' ,
257- } ,
257+ contents : [
258258 {
259- x : 441 ,
260- y : 142 ,
259+ x : 470 ,
260+ y : 135 ,
261+ type : 'link' ,
262+ path : '/Applications' ,
263+ } ,
264+ {
265+ x : 125 ,
266+ y : 135 ,
261267 type : 'file' ,
262- } ] ,
268+ }
269+ ] ,
263270 } ,
264271 } ,
265272 directories : {
@@ -308,8 +315,8 @@ gulp.task('release-dist', ['build-dist'], (done) => {
308315 shell . rm ( '-rf' , releasePath ) ;
309316 shell . mkdir ( '-p' , releasePath ) ;
310317
311- const appNameHypen = applicationName . replace ( / \s / , '-' ) ;
312- const appNameNoSpace = applicationName . replace ( / \s / , '' ) ;
318+ const appNameHypen = applicationName . replace ( / \s / g , '-' ) ;
319+ const appNameNoSpace = applicationName . replace ( / \s / g , '' ) ;
313320 const versionDashed = version . replace ( / \. / g, '-' ) ;
314321
315322 const cp = ( inputPath , outputPath ) => {
0 commit comments