使用前先在 steam 页面上加入星球
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash
bash
nvm install 10
npm install -g yarn
git clone https://github.com/Indexyz/steam_2018_summer_game.git
cd steam_2018_summer_game
# 编辑 config/default.json
# 去 https://steamcommunity.com/saliengame/gettoken 获取 token
# "token": [
# "YOUR_TOKEN"
# ]
# 将 YOUR_TOKEN 改为你的 TOKEN
# 可以填写多个用户的 token
yarn
yarn run build
node dist/index.js
# Enjoy!
docker run --name steam_game -d --restart=always -e STEAM_TOKEN=你的TOKEN indexyz/steam_2018_summer_game
安装 https://nodejs.org/zh-cn/ 和 https://yarnpkg.com/lang/zh-hans/ 然后 Download Zip 并解压
# 编辑 config/default.json
# 去 https://steamcommunity.com/saliengame/gettoken 获取 token
# "token": [
# "YOUR_TOKEN"
# ]
# 将 YOUR_TOKEN 改为你的 TOKEN
# 可以填写多个用户的 token
yarn
yarn run build
node dist/index.js
# Enjoy!