From ce1b7da7443b5f4f34ee254afa32b589f030b3d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Aaron?= Date: Wed, 11 Oct 2023 17:36:24 +0200 Subject: [PATCH 1/2] fix: remove hashes from chunks --- webpack.config.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/webpack.config.js b/webpack.config.js index f1e002c544..3ca9cece8f 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -267,28 +267,28 @@ var options = { template: path.join(viewsPath, "popup.html"), inject: "body", chunks: ["popup"], - hash: true, + hash: false, filename: "popup.html", }), new HtmlWebpackPlugin({ template: path.join(viewsPath, "options.html"), inject: "body", chunks: ["options"], - hash: true, + hash: false, filename: "options.html", }), new HtmlWebpackPlugin({ template: path.join(viewsPath, "prompt.html"), inject: "body", chunks: ["prompt"], - hash: true, + hash: false, filename: "prompt.html", }), new HtmlWebpackPlugin({ template: path.join(viewsPath, "welcome.html"), inject: "body", chunks: ["welcome"], - hash: true, + hash: false, filename: "welcome.html", }), // write css file(s) to build folder From 7698c974c8726c8c950281a8b6fe85c86927cdf3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Aaron?= Date: Wed, 11 Oct 2023 17:53:36 +0200 Subject: [PATCH 2/2] fix: change file permissions --- create-packages.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/create-packages.sh b/create-packages.sh index 82a8da6bc2..5976630161 100755 --- a/create-packages.sh +++ b/create-packages.sh @@ -42,6 +42,7 @@ cd dist/production cd firefox # Normalize timestamp to get reproducible zip file find . -exec touch -t 200810310000 {} + +chmod 644 -R * # Create zip file zip -rX ../alby-firefox-v$VERSION.xpi * @@ -52,6 +53,7 @@ echo "Created alby-firefox-v$VERSION.xpi (SHA512: $SHA)" cd ../chrome # Normalize timestamp to get reproducible zip file find . -exec touch -t 200810310000 {} + +chmod 644 -R * # Create zip file zip -rX ../alby-chrome-v$VERSION.zip * @@ -62,6 +64,7 @@ echo "Created alby-chrome-v$VERSION.zip (SHA512: $SHA)" cd ../opera # Normalize timestamp to get reproducible zip file find . -exec touch -t 200810310000 {} + +chmod 644 -R * # Create zip file zip -rX ../alby-opera-v$VERSION.crx *