Skip to content

Commit

Permalink
fix dependency check, put binaries in sbin
Browse files Browse the repository at this point in the history
  • Loading branch information
t-aleksander committed Jan 12, 2025
1 parent 647f5d0 commit ff694f0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ jobs:
- name: Build dg deb
uses: defGuard/fpm-action@main
with:
fpm_args: 'dg-linux-${{ matrix.binary_arch }}-${{ github.ref_name }}=/usr/bin/dg dg.service=/usr/lib/systemd/system/dg.service src-tauri/cli/.env=/etc/defguard/dg.conf'
fpm_args: 'dg-linux-${{ matrix.binary_arch }}-${{ github.ref_name }}=/usr/sbin/dg dg.service=/usr/lib/systemd/system/dg.service src-tauri/cli/.env=/etc/defguard/dg.conf'
fpm_opts: '--architecture ${{ matrix.binary_arch }} --debug --output-type deb --version ${{ env.VERSION }} --package dg-linux-${{ matrix.binary_arch }}-${{ github.ref_name }}.deb'
- name: Upload DEB
uses: actions/[email protected]
Expand All @@ -199,7 +199,7 @@ jobs:
- name: Build dg rpm
uses: defGuard/fpm-action@main
with:
fpm_args: 'dg-linux-${{ matrix.binary_arch }}-${{ github.ref_name }}=/usr/bin/dg dg.service=/usr/lib/systemd/system/dg.service src-tauri/cli/.env=/etc/defguard/dg.conf'
fpm_args: 'dg-linux-${{ matrix.binary_arch }}-${{ github.ref_name }}=/usr/sbin/dg dg.service=/usr/lib/systemd/system/dg.service src-tauri/cli/.env=/etc/defguard/dg.conf'
fpm_opts: '--architecture ${{ matrix.binary_arch }} --debug --output-type rpm --version ${{ env.VERSION }} --package dg-linux-${{ matrix.binary_arch }}-${{ github.ref_name }}.rpm'
- name: Upload RPM
uses: actions/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ clap = { version = "4.5", features = ["cargo", "derive", "env"] }
chrono = { version = "0.4", features = ["serde"] }
common = { path = "common" }
dark-light = "1.1"
defguard_wireguard_rs = { workspace = true }
defguard_wireguard_rs = { workspace = true, features = ["check_dependencies"] }
dirs-next = "2.0"
lazy_static = "1.5"
log = { version = "0.4", features = ["serde"] }
Expand Down
2 changes: 1 addition & 1 deletion src-tauri/cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ prost-build = "0.13"
[dependencies]
clap = { version = "4.5", features = ["cargo", "derive", "env"] }
common = { path = "../common" }
defguard_wireguard_rs = { workspace = true }
defguard_wireguard_rs = { workspace = true, features = ["check_dependencies"] }
dirs-next = "2.0"
prost = "0.13"
reqwest = { version = "0.12", features = ["cookies", "json"] }
Expand Down

0 comments on commit ff694f0

Please sign in to comment.