1
0
Fork 0
forked from lthn/blockchain

disabling sandbox for qtwebengine

This commit is contained in:
cryptozoidberg 2023-01-17 15:48:15 +01:00
parent 26db77219d
commit a4c332e136
No known key found for this signature in database
GPG key ID: 22DEB97A54C6FDEC

View file

@ -4,6 +4,8 @@ script_dir=$( dirname "$(readlink -f "$0")" )
out_dir=~/.local/share/applications
out_file_name="${out_dir}/Zano.desktop"
export QTWEBENGINE_DISABLE_SANDBOX=1
call_app()
{
pushd $script_dir
@ -31,6 +33,7 @@ create_desktop_icon()
echo Type=Application | tee -a $target_file_name > /dev/null
echo "Categories=Qt;Utility;" | tee -a $target_file_name > /dev/null
echo "MimeType=x-scheme-handler/zano;" | tee -a $target_file_name > /dev/null
echo "StartupWMClass=Zano" | tee -a $target_file_name > /dev/null
}