mirror of
https://github.com/tteck/Proxmox.git
synced 2025-02-15 06:09:15 +01:00
feat(scripts): add free games claimer script
This commit is contained in:
parent
c4690521b8
commit
2c78b07100
1 changed files with 6 additions and 4 deletions
|
@ -53,6 +53,8 @@ $STD pip install apprise
|
||||||
msg_ok "Installed apprise"
|
msg_ok "Installed apprise"
|
||||||
|
|
||||||
msg_info "Creating dummy config file"
|
msg_info "Creating dummy config file"
|
||||||
|
cd /opt/freegamesclaimer
|
||||||
|
mkdir data
|
||||||
cat <<EOF >/opt/freegamesclaimer/data/config.env
|
cat <<EOF >/opt/freegamesclaimer/data/config.env
|
||||||
NOTIFY= # apprise notification services
|
NOTIFY= # apprise notification services
|
||||||
NOTIFY_TITLE= # apprise notification title
|
NOTIFY_TITLE= # apprise notification title
|
||||||
|
@ -68,13 +70,13 @@ cat <<EOF >/opt/freegamesclaimer/data/config.env
|
||||||
# auth gog
|
# auth gog
|
||||||
GOG_EMAIL=
|
GOG_EMAIL=
|
||||||
GOG_PASSWORD=
|
GOG_PASSWORD=
|
||||||
|
|
||||||
# auth AliExpress
|
|
||||||
AER_EMAIL=
|
|
||||||
AE_PASSWORD=
|
|
||||||
EOF
|
EOF
|
||||||
msg_ok "Created dummy config file"
|
msg_ok "Created dummy config file"
|
||||||
|
|
||||||
|
msg_info "Select gaming services to claim games for"
|
||||||
|
CHOICES=$(whiptail --title "Gaming services" --checklist "Select services" 20 78 4 "EPIC" "Allow connections to other hosts" ON "GOG" "Allow connections from other hosts" OFF "PRIME" "Allow mounting of local devices" OFF)
|
||||||
|
msg_ok "Selected ${CHOICES}"
|
||||||
|
|
||||||
motd_ssh
|
motd_ssh
|
||||||
customize
|
customize
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue