Skip to content

Commit 25fd53e

Browse files
authored
Merge pull request #74 from d0dg3r/fix/arch-pkgbuild-startdir-path
fix(ci): robustly anchor deb bundle path in Arch PKGBUILD
2 parents 472ace7 + 88883e7 commit 25fd53e

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

apps/desktop/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "desktop",
3-
"version": "0.1.0-beta.15",
3+
"version": "0.1.0-beta.16",
44
"description": "Cross-platform SSH manager desktop app",
55
"scripts": {
66
"dev": "vite",

apps/desktop/src-tauri/PKGBUILD

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ package() {
1313
# The Tauri build for Debian creates a directory structure we can reuse.
1414
# In a Cargo workspace, we find the data directory within the workspace root's target folder.
1515
# Tauri sanitizes versions (e.g., stripping pre-release tags for DEB), so we find the first dir.
16-
_deb_bundle_dir=$(find ../../../target/release/bundle/deb -maxdepth 1 -mindepth 1 -type d | head -n 1)
16+
_deb_bundle_dir=$(find "${startdir}/../../../target/release/bundle/deb" -maxdepth 1 -mindepth 1 -type d | head -n 1)
1717

1818
if [ -z "$_deb_bundle_dir" ]; then
1919
echo "Error: Could not find any Debian bundle directory"
20-
echo "Searched in: ../../../target/release/bundle/deb"
20+
echo "Searched in: ${startdir}/../../../target/release/bundle/deb"
2121
exit 1
2222
fi
2323

0 commit comments

Comments
 (0)