From 33fb0456a1a811ebca1a480b7f4173c989074209 Mon Sep 17 00:00:00 2001 From: Cooper Dalrymple Date: Wed, 29 Oct 2025 14:03:28 -0500 Subject: [PATCH] Fix image encoding issue during packaging --- gulpfile.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index c83599c..257b783 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -46,14 +46,18 @@ gulp.task('package-copy', () => { 'readme.txt' ], { base: './', - allowEmpty: true + allowEmpty: true, + encoding: false, }) .pipe(filter((file) => !file.path.includes('/node_modules'))) .pipe(gulp.dest(`./${NAME}/`)); }); gulp.task('package-zip', () => { - return gulp.src(`${NAME}/**/*`, { base: './' }) + return gulp.src(`${NAME}/**/*`, { + base: './', + encoding: false, + }) .pipe(zip(`${NAME}.zip`)) .pipe(gulp.dest('./')); });