Skip to content

Commit c07cf6f

Browse files
update linux build to work without libfuse2
1 parent f080749 commit c07cf6f

File tree

2 files changed

+22
-3
lines changed

2 files changed

+22
-3
lines changed

.github/workflows/build.yml

+12-3
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,10 @@ jobs:
5959
# List contents before build
6060
ls -la
6161
62-
# Run build with verbose logging
63-
npx electron-builder --linux AppImage --x64
62+
# Run build with verbose logging for Linux formats
63+
# AppImage - Universal portable format
64+
# DEB - Debian/Ubuntu systems
65+
npx electron-builder --linux AppImage deb --x64
6466
6567
# Show build output directory
6668
echo "Build output directory contents:"
@@ -146,6 +148,7 @@ jobs:
146148
name: linux-build
147149
path: |
148150
dist/*.AppImage
151+
dist/*.deb
149152
if-no-files-found: error
150153

151154
- name: Upload Windows artifacts
@@ -194,9 +197,10 @@ jobs:
194197
195198
- name: Process artifacts
196199
run: |
197-
# Process Linux artifact
200+
# Process Linux artifacts
198201
cd artifacts/linux-build
199202
mv *.AppImage ../../drivechain-launcher-latest-x86_64-linux.AppImage
203+
mv *.deb ../../drivechain-launcher-latest-x86_64-linux.deb
200204
cd ../..
201205
202206
# Process Windows artifact
@@ -247,6 +251,10 @@ jobs:
247251
echo "Error: Linux AppImage file not found"
248252
exit 1
249253
fi
254+
if [ ! -f "drivechain-launcher-latest-x86_64-linux.deb" ]; then
255+
echo "Error: Linux DEB file not found"
256+
exit 1
257+
fi
250258
if [ ! -f "drivechain-launcher-latest-windows.zip" ]; then
251259
echo "Error: Windows zip file not found"
252260
exit 1
@@ -269,6 +277,7 @@ jobs:
269277
port: 22
270278
scp: |
271279
'drivechain-launcher-latest-x86_64-linux.AppImage' => '/var/www/html/'
280+
'drivechain-launcher-latest-x86_64-linux.deb' => '/var/www/html/'
272281
'drivechain-launcher-latest-windows.zip' => '/var/www/html/'
273282
'drivechain-launcher-latest-osx-arm64.dmg' => '/var/www/html/'
274283
'drivechain-launcher-latest-osx-x64.dmg' => '/var/www/html/'

package.json

+10
Original file line numberDiff line numberDiff line change
@@ -109,9 +109,19 @@
109109
"arch": [
110110
"x64"
111111
]
112+
},
113+
{
114+
"target": "deb",
115+
"arch": [
116+
"x64"
117+
]
112118
}
113119
],
114120
"category": "Development",
121+
"artifactName": "Drivechain-Launcher-${version}.${ext}",
122+
"asarUnpack": [
123+
"node_modules/@grpc"
124+
],
115125
"maintainer": "Drivechain <support@drivechain.info>",
116126
"executableName": "drivechain-launcher",
117127
"executableArgs": [

0 commit comments

Comments
 (0)