@@ -200,7 +200,10 @@ jobs:
200200 libwebkit2gtk-4.1-dev \
201201 build-essential \
202202 pkg-config \
203- libappindicator3-dev
203+ libappindicator3-dev \
204+ imagemagick \
205+ wget \
206+ file
204207
205208 - name : Setup Go
206209 uses : actions/setup-go@v5
@@ -240,8 +243,28 @@ jobs:
240243 - name : Prepare artifact (Unix)
241244 if : runner.os != 'Windows' && !matrix.is_app_bundle
242245 run : |
243- mv "build/bin/${{ matrix.artifact }}" "build/bin/${{ matrix.output }}"
246+ cp "build/bin/${{ matrix.artifact }}" "build/bin/${{ matrix.output }}"
244247 chmod +x "build/bin/${{ matrix.output }}"
248+
249+ # Linux: Crear paquetes DEB y AppImage
250+ - name : Create Linux packages
251+ if : runner.os == 'Linux'
252+ run : |
253+ VERSION="${{ needs.prepare.outputs.version_short }}"
254+
255+ # Crear paquete DEB
256+ echo "📦 Creating DEB package..."
257+ chmod +x ./scripts/package-deb.sh
258+ ./scripts/package-deb.sh "$VERSION"
259+
260+ # Crear AppImage
261+ echo "📦 Creating AppImage..."
262+ chmod +x ./scripts/package-appimage.sh
263+ ./scripts/package-appimage.sh "$VERSION"
264+
265+ # Listar artefactos generados
266+ echo "📋 Generated packages:"
267+ ls -la build/bin/
245268
246269 - name : Prepare artifact (Windows)
247270 if : runner.os == 'Windows'
@@ -263,8 +286,17 @@ jobs:
263286 if : runner.os != 'Windows' && !matrix.is_app_bundle
264287 run : |
265288 cd build/bin
289+ # Checksum del binario
266290 sha256sum "${{ matrix.output }}" > "${{ matrix.output }}.sha256"
267291
292+ # Checksums de paquetes Linux
293+ if [ -f "*.deb" ]; then
294+ for f in *.deb; do sha256sum "$f" > "$f.sha256"; done
295+ fi
296+ if [ -f "*.AppImage" ]; then
297+ for f in *.AppImage; do sha256sum "$f" > "$f.sha256"; done
298+ fi
299+
268300 - name : Generate checksum (Windows)
269301 if : runner.os == 'Windows'
270302 shell : pwsh
@@ -287,6 +319,10 @@ jobs:
287319 path : |
288320 build/bin/${{ matrix.output }}
289321 build/bin/${{ matrix.output }}.sha256
322+ build/bin/*.deb
323+ build/bin/*.deb.sha256
324+ build/bin/*.AppImage
325+ build/bin/*.AppImage.sha256
290326 build/${{ matrix.output }}.zip
291327 build/${{ matrix.output }}.zip.sha256
292328 retention-days : 5
@@ -317,7 +353,7 @@ jobs:
317353 - name : Prepare release files
318354 run : |
319355 mkdir -p release
320- find ./artifacts -type f \( -name "*.exe" -o -name "Sendlog-Syslog-linux-*" -o -name "*.zip" -o -name "*.sha256" \) -exec cp {} release/ \;
356+ find ./artifacts -type f \( -name "*.exe" -o -name "Sendlog-Syslog-linux-*" -o -name "*.deb" -o -name "*.AppImage" -o -name "*. zip" -o -name "*.sha256" \) -exec cp {} release/ \;
321357 echo "📦 Release files:"
322358 ls -la release/
323359
@@ -335,11 +371,22 @@ jobs:
335371
336372 ## 📥 Downloads
337373
338- | Platform | File | Checksum |
339- |----------|------|----------|
340- | **Windows** (64-bit) | `Sendlog-Syslog-windows-amd64.exe` | `.sha256` |
341- | **Linux** (64-bit) | `Sendlog-Syslog-linux-amd64` | `.sha256` |
342- | **macOS** (Universal) | `Sendlog-Syslog-macos-universal.app.zip` | `.sha256` |
374+ ### 🪟 Windows
375+ | File | Description |
376+ |------|-------------|
377+ | `Sendlog-Syslog-windows-amd64.exe` | Windows 64-bit executable |
378+
379+ ### 🐧 Linux
380+ | File | Description |
381+ |------|-------------|
382+ | `sendlog-syslog_*.deb` | **Recommended** - Debian/Ubuntu package (auto-installs dependencies) |
383+ | `Sendlog-Syslog-*-x86_64.AppImage` | Portable AppImage (no installation needed) |
384+ | `Sendlog-Syslog-linux-amd64` | Raw binary (requires manual dependency installation) |
385+
386+ ### 🍎 macOS
387+ | File | Description |
388+ |------|-------------|
389+ | `Sendlog-Syslog-macos-universal.app.zip` | macOS Universal (Intel + Apple Silicon) |
343390
344391 ## 🔄 Changelog
345392
@@ -348,29 +395,56 @@ jobs:
348395 ## 📋 Installation
349396
350397 <details>
351- <summary><b>Windows</b></summary>
398+ <summary><b>🪟 Windows</b></summary>
352399
353400 1. Download `Sendlog-Syslog-windows-amd64.exe`
354401 2. Run the executable
355402 </details>
356403
357404 <details>
358- <summary><b>Linux</b></summary>
405+ <summary><b>🐧 Linux - DEB Package (Recommended) </b></summary>
359406
360407 ```bash
361- # Download and make executable
362- chmod +x Sendlog-Syslog-linux-amd64
408+ # Download the .deb file, then:
409+ sudo apt install ./sendlog-syslog_*.deb
410+
411+ # Dependencies are installed automatically!
412+ # Run from applications menu or:
413+ sendlog-syslog
414+ ```
415+ </details>
416+
417+ <details>
418+ <summary><b>🐧 Linux - AppImage (Portable)</b></summary>
419+
420+ ```bash
421+ # Download the AppImage, then:
422+ chmod +x Sendlog-Syslog-*-x86_64.AppImage
423+ ./Sendlog-Syslog-*-x86_64.AppImage
424+
425+ # No installation or dependencies needed!
426+ ```
427+ </details>
428+
429+ <details>
430+ <summary><b>🐧 Linux - Raw Binary</b></summary>
363431
364- # Install runtime dependencies (Ubuntu 24.04+)
432+ ```bash
433+ # Install dependencies first:
434+ # Ubuntu 24.04+
365435 sudo apt install libgtk-3-0 libwebkit2gtk-4.1-0
366436
367- # Run
437+ # Ubuntu 22.04 and earlier
438+ sudo apt install libgtk-3-0 libwebkit2gtk-4.0-37
439+
440+ # Then run:
441+ chmod +x Sendlog-Syslog-linux-amd64
368442 ./Sendlog-Syslog-linux-amd64
369443 ```
370444 </details>
371445
372446 <details>
373- <summary><b>macOS</b></summary>
447+ <summary><b>🍎 macOS</b></summary>
374448
375449 1. Download and unzip `Sendlog-Syslog-macos-universal.app.zip`
376450 2. Move `Sendlog-Syslog.app` to Applications
0 commit comments