diff options
author | zxp19821005 | 2023-07-07 17:59:52 +0800 |
---|---|---|
committer | zxp19821005 | 2023-07-07 17:59:52 +0800 |
commit | d5e7c0946d921fc9ae1a21503ce74137e1c5a593 (patch) | |
tree | a12d935c518167cd6c5b80d88ae2ce24e8bff330 /chain-desktop-wallet.sh | |
download | aur-d5e7c0946d921fc9ae1a21503ce74137e1c5a593.tar.gz |
first release
Diffstat (limited to 'chain-desktop-wallet.sh')
-rw-r--r-- | chain-desktop-wallet.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/chain-desktop-wallet.sh b/chain-desktop-wallet.sh new file mode 100644 index 000000000000..72674a2f31d2 --- /dev/null +++ b/chain-desktop-wallet.sh @@ -0,0 +1,6 @@ +#!/bin/bash +if [[ $EUID -ne 0 ]] || [[ $ELECTRON_RUN_AS_NODE ]]; then + exec electron /opt/chain-desktop-wallet/app.asar "$@" +else + exec electron --no-sandbox /opt/chain-desktop-wallet/app.asar "$@" +fi
\ No newline at end of file |