summaryrefslogtreecommitdiff
path: root/paradox-launcher
blob: 9c820759a29c0ff23f20fd2394de0949899cb3f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

DIR="${HOME}/.paradox-launcher"
if [ ! -d "$DIR" ]; then
    mkdir -p "$DIR"
fi
if [ ! -d "$DIR"/data/ ]; then
    cp /opt/paradox-launcher/* "$DIR" -R
    chmod +x "$DIR"/data/bootstrapper/bootstrapper.sh
fi

cd "$DIR"
"$DIR"/data/bootstrapper/bootstrapper.sh