2021-06-15 11:43:19 +00:00
|
|
|
#!/usr/bin/env sh
|
2021-06-15 11:38:01 +00:00
|
|
|
dir=$(dirname $(realpath $0))
|
|
|
|
${dir}/icons.sh
|
|
|
|
|
|
|
|
temp_name=$(head -c 20 /dev/random | xxd -p | tr -dc a-f0-9)
|
|
|
|
temp_dir="/tmp/${temp_name}"
|
|
|
|
|
2021-06-15 12:02:59 +00:00
|
|
|
chromium-browser --no-sandbox --user-data-dir=${temp_dir} --pack-extension="${dir}/chrome" --pack-extension-key=${HOME}/keys/privkey.pem
|
2021-06-15 11:38:01 +00:00
|
|
|
|
|
|
|
rm -rf ${temp_dir}
|