Skip to content

Commit

Permalink
Fix Android icons (#3722)
Browse files Browse the repository at this point in the history
  • Loading branch information
haslinghuis authored Jan 2, 2024
1 parent 305bfcc commit adf380c
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -379,8 +379,20 @@ function dist_src() {
}

function dist_node_modules_css() {
return gulp
.src("./node_modules/**/*.min.css")
const platforms = getPlatforms();
const isAndroid = platforms.includes('android');

const cssSources = [
'./node_modules/**/*.min.css',
];

if (isAndroid) {
cssSources.push("./node_modules/**/*.woff2");
cssSources.push("./node_modules/**/*.ttf");
}

return gulp
.src(cssSources)
.pipe(gulp.dest(`${DIST_DIR}node_modules`));
}

Expand Down

0 comments on commit adf380c

Please sign in to comment.