Skip to content
This repository was archived by the owner on Dec 17, 2024. It is now read-only.

Commit ba4b826

Browse files
committed
build a debian dpkg
Fixes #995
1 parent 7c1f6f4 commit ba4b826

File tree

4 files changed

+442
-15
lines changed

4 files changed

+442
-15
lines changed

dist/build.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@ function linux {
151151

152152
if [ -z "$NO_INSTALLER" ]; then
153153
(cd $BUILDDIR && zip -q -r "${PRODUCT_NAME}-linux-x64" "${PRODUCT_NAME}-linux-x64" -x \*~)
154+
./node_modules/.bin/electron-installer-debian --src "${BUILDDIR}/${PRODUCT_NAME}-linux-x64" --dest ${BUILDDIR}/installers/ --arch amd64 --config dpkg-config.json
154155
fi
155156
fi
156157
}

dist/dpkg-config.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"name": "fsh"
3+
}

0 commit comments

Comments
 (0)