blob: 3f1ac7594004f92c38c6d27e732e2d4ffff2a069 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#!/bin/sh
#Store pwd in case launched in shell
CurDir=$PWD
#If config dir does not exist, make it
if [ ! -d "$HOME/.config/ARC-Client" ];
then
mkdir -p $HOME/.config/ARC-Client
fi
#Change dir to ensue userdata goes to .config
cd $HOME/.config/ARC-Client
#Launch application
exec /usr/bin/electron /usr/lib/ARC-Client --no-sandbox --ozone-platform-hint=auto --enable-features=WaylandWindowDecorations --enable-wayland-ime=true "$@"
#Return to starting dir
cd $CurDir
|