summarylogtreecommitdiffstats
path: root/epicgames-freebies-claimer
blob: f8679d25a91897c106c150bcb6b7add5e875a880 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/env sh

mkdir -p ~/".cache/.egstore"
cd ~/".cache"

mkdir -p ~/".config/epicgames"

[ ! -e ~/".config/epicgames/config.json" ] && cp "/usr/lib/node_modules/epicgames-freebies-claimer/config.json" ~/".config/epicgames/"

entry=

node "/usr/lib/node_modules/epicgames-freebies-claimer/$entry" "$@"