We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent de81a5f commit 0a1a05cCopy full SHA for 0a1a05c
src-tauri/sidecar/trame-x86_64-unknown-linux-gnu
@@ -1,5 +1,13 @@
1
#!/bin/bash
2
-rootdir=`dirname $0`
3
-rootdir=`cd $rootdir && pwd`
+basedir=$(cd "$(dirname "$0")/../lib" && pwd)
4
5
-$rootdir/server/server $@
+if [ -d "$basedir/quickview" ]; then
+ rootdir="$basedir/quickview"
6
+elif [ -d "$basedir/quick-view" ]; then
7
+ rootdir="$basedir/quick-view"
8
+else
9
+ echo "Error: Could not find quickview or quick-view directory in $basedir" >&2
10
+ exit 1
11
+fi
12
+
13
+"$rootdir/server/server" "$@"
0 commit comments