From 8169d515c1d0540117d9ebc22ac591e11f700318 Mon Sep 17 00:00:00 2001 From: Fadel Date: Tue, 3 Dec 2024 19:16:12 -0300 Subject: [PATCH] fixed electron forge linux binary --- freebsd/Makefile | 2 ++ freebsd/distinfo | 10 +++++----- freebsd/files/packagejsons/package.json | 1 + package.json | 1 + 4 files changed, 9 insertions(+), 5 deletions(-) diff --git a/freebsd/Makefile b/freebsd/Makefile index 45fb538..a66fedf 100644 --- a/freebsd/Makefile +++ b/freebsd/Makefile @@ -23,6 +23,8 @@ PREFETCH_TIMESTAMP= 1713712594 pre-build: cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} npm run build + ${CP} ${WRKDIR}/${ELECTRON_DOWNLOAD_CACHE_DIR}/electron-v${UPSTREAM_ELECTRON_VER}-linux-${ELECTRON_ARCH}.zip \ + ${WRKSRC} do-install: ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin diff --git a/freebsd/distinfo b/freebsd/distinfo index de32006..5c06fab 100644 --- a/freebsd/distinfo +++ b/freebsd/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1702066758 -SHA256 (discordbsd--node-modules.tar.gz) = 36db95d032fed1ad0e3225001bb4e1ebc168f0eb2b14e34e7187beade50ba610 -SIZE (discordbsd--node-modules.tar.gz) = 89170328 -SHA256 (SrWither-DiscordBSD--main_GH0.tar.gz) = c55ae156c5734666739fc3ece497de10a3dd7664523c697a97cd5a130693cfd7 -SIZE (SrWither-DiscordBSD--main_GH0.tar.gz) = 492275 +TIMESTAMP = 1733263921 +SHA256 (discordbsd--node-modules.tar.gz) = 4c670cf0dcdd605a6cdd6d37d80758bd69fbe9785633aa32b90afae35360aa97 +SIZE (discordbsd--node-modules.tar.gz) = 74283421 +SHA256 (SrWither-DiscordBSD--main_GH0.tar.gz) = 3b5b74842cb91a3362dd822b8f0dfb5a42e285c47e3798d20a1dc7b649f00368 +SIZE (SrWither-DiscordBSD--main_GH0.tar.gz) = 650670 diff --git a/freebsd/files/packagejsons/package.json b/freebsd/files/packagejsons/package.json index 2bdaa96..4c5bac5 100644 --- a/freebsd/files/packagejsons/package.json +++ b/freebsd/files/packagejsons/package.json @@ -23,6 +23,7 @@ "config": { "forge": { "packagerConfig": { + "electronZipDir": ".", "makers": [ { "name": "@electron-forge/maker-zip", diff --git a/package.json b/package.json index 2bdaa96..4c5bac5 100644 --- a/package.json +++ b/package.json @@ -23,6 +23,7 @@ "config": { "forge": { "packagerConfig": { + "electronZipDir": ".", "makers": [ { "name": "@electron-forge/maker-zip",