From a405f9db669ed76889f525a1dcdd517262adf183 Mon Sep 17 00:00:00 2001 From: gapato Date: Tue, 9 Jun 2026 11:17:24 +0200 Subject: [PATCH] update Makefile --- Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Makefile b/Makefile index 0a70061..fad99de 100644 --- a/Makefile +++ b/Makefile @@ -4,3 +4,13 @@ SET_VERSION = $(eval CURRENT_VERSION=$(VERSION)) default: $(SET_VERSION) zip -r releases/epas-ripper-$(CURRENT_VERSION).xpi style.css content.js lib archive-viewer manifest.json icons + +prepare_pack: + rm -rf build + mkdir -p build + cp -r style.css content.js lib archive-viewer manifest.json icons build + +pack: prepare_pack + $(SET_VERSION) + chromium-browser --pack-extension=build --pack-extension-key=key.pem + mv build.crx releases/epas-ripper-$(CURRENT_VERSION).crx