Skip to content

Commit

Permalink
fix: volume map to default Docker Deskotp file sharing (/Users)
Browse files Browse the repository at this point in the history
Signed-off-by: Ales Verbic <verbotenj@blinklabs.io>
  • Loading branch information
verbotenj committed May 5, 2024
1 parent ed0c041 commit 4483cc4
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/cardano-cli/files/cardano-cli.sh.gotmpl
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
#!/bin/bash

declare -a valid_paths=(
"/Users"
"/Volumes"
"/private"
"/tmp"
"/var/folders"
)

_args=()

# Remap absolute paths to /host in the container
Expand Down
8 changes: 8 additions & 0 deletions packages/mithril-client/files/mithril-client.sh.gotmpl
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
#!/bin/bash

declare -a valid_paths=(
"/Users"
"/Volumes"
"/private"
"/tmp"
"/var/folders"
)

# setup options
_options=(${@})
for i in ${!_options[@]}; do
Expand Down

0 comments on commit 4483cc4

Please sign in to comment.