Expose wallet.sh as a Snap program temporarily
This commit is contained in:
parent
f95a79d145
commit
9ae283dc3a
|
@ -7,7 +7,13 @@ rsync=rsync
|
||||||
if [[ -d "$SNAP" ]]; then # Running inside a Linux Snap?
|
if [[ -d "$SNAP" ]]; then # Running inside a Linux Snap?
|
||||||
solana_program() {
|
solana_program() {
|
||||||
declare program="$1"
|
declare program="$1"
|
||||||
|
if [[ "$program" = wallet ]]; then
|
||||||
|
# TODO: Merge wallet.sh functionality into solana-wallet proper and
|
||||||
|
# remove this special case
|
||||||
|
printf "%s/bin/solana-%s" "$SNAP" "$program"
|
||||||
|
else
|
||||||
printf "%s/command-%s.wrapper" "$SNAP" "$program"
|
printf "%s/command-%s.wrapper" "$SNAP" "$program"
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
rsync="$SNAP"/bin/rsync
|
rsync="$SNAP"/bin/rsync
|
||||||
SOLANA_CUDA="$(snapctl get enable-cuda)"
|
SOLANA_CUDA="$(snapctl get enable-cuda)"
|
||||||
|
|
|
@ -44,7 +44,9 @@ apps:
|
||||||
client-demo:
|
client-demo:
|
||||||
command: solana-client-demo
|
command: solana-client-demo
|
||||||
wallet:
|
wallet:
|
||||||
command: solana-wallet
|
# TODO: Merge wallet.sh functionality into solana-wallet proper
|
||||||
|
command: wallet.sh
|
||||||
|
#command: solana-wallet
|
||||||
|
|
||||||
daemon-validator:
|
daemon-validator:
|
||||||
daemon: simple
|
daemon: simple
|
||||||
|
|
Loading…
Reference in New Issue