build debs

This commit is contained in:
Nikita Galaiko 2023-09-07 17:29:27 +02:00 committed by GitButler
parent 05557f69c5
commit 04524fbc2c
2 changed files with 3 additions and 1 deletions

View File

@ -51,7 +51,7 @@
"icons/dev/icon.icns",
"icons/dev/icon.ico"
],
"targets": ["app", "dmg", "appimage", "updater"]
"targets": ["app", "dmg", "appimage", "deb", "updater"]
},
"systemTray": {
"iconPath": "icons/tray.png",

View File

@ -233,6 +233,8 @@ BUNDLE_DIR=$(readlink -f "$PWD/../target/release/bundle")
RELEASE_DIR="$DIST/$OS/$ARCH"
mkdir -p "$RELEASE_DIR"
find $RELEASE_DIR -type f
if [ "$OS" = "macos" ]; then
MACOS_DMG="$(find "$BUNDLE_DIR/dmg" -depth 1 -type f -name "*.dmg")"
MACOS_UPDATER="$(find "$BUNDLE_DIR/macos" -depth 1 -type f -name "*.tar.gz")"