feat: improve electron sandbox path search by using name instead of path
This commit is contained in:
parent
4f80baa3de
commit
8dc9f9f474
@ -9,7 +9,7 @@ echo ""
|
||||
|
||||
# Find all electron sandbox paths
|
||||
echo "Finding Electron chrome-sandbox instances..."
|
||||
SANDBOX_PATHS=$(find /nix/store -path "*/electron/chrome-sandbox" -type f -executable 2>/dev/null)
|
||||
SANDBOX_PATHS=$(find /nix/store -name chrome-sandbox -type f -executable 2>/dev/null)
|
||||
|
||||
if [ -n "$SANDBOX_PATHS" ]; then
|
||||
count=$(echo "$SANDBOX_PATHS" | wc -l)
|
||||
|
Loading…
x
Reference in New Issue
Block a user