diff --git a/.github/workflows/bump-asf-reference.yml b/.github/workflows/bump-asf-reference.yml index 9b6258e..5c0be05 100644 --- a/.github/workflows/bump-asf-reference.yml +++ b/.github/workflows/bump-asf-reference.yml @@ -20,7 +20,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v4.1.6 + uses: actions/checkout@v4.1.7 with: token: ${{ env.PUSH_GITHUB_TOKEN }} diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index acf409c..c6905ed 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,7 +20,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v4.1.6 + uses: actions/checkout@v4.1.7 with: submodules: recursive diff --git a/.github/workflows/keepalive.yml b/.github/workflows/keepalive.yml index f2adc90..6db6668 100644 --- a/.github/workflows/keepalive.yml +++ b/.github/workflows/keepalive.yml @@ -17,7 +17,7 @@ jobs: name: Keep the repo alive runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4.1.6 + - uses: actions/checkout@v4.1.7 timeout-minutes: 5 - uses: gautamkrishnar/keepalive-workflow@v2 timeout-minutes: 5 diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 49a11de..0c4ebc2 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -22,7 +22,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v4.1.6 + uses: actions/checkout@v4.1.7 with: submodules: recursive @@ -172,13 +172,13 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v4.1.6 + uses: actions/checkout@v4.1.7 # TODO: It'd be perfect if we could match final artifacts to the platform they target, so e.g. linux build comes from the linux machine # However, that is currently impossible due to https://github.com/dotnet/msbuild/issues/3897 # Therefore, we'll (sadly) pull artifacts from Windows machine only for now - name: Download generic artifact from windows-latest - uses: actions/download-artifact@v4.1.7 + uses: actions/download-artifact@v4.1.8 with: name: windows-latest_${{ env.PLUGIN_NAME }}-generic path: out diff --git a/.github/workflows/test_integration.yml b/.github/workflows/test_integration.yml index d4751cd..19ffd86 100644 --- a/.github/workflows/test_integration.yml +++ b/.github/workflows/test_integration.yml @@ -32,7 +32,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v4.1.6 + uses: actions/checkout@v4.1.7 timeout-minutes: 5 with: submodules: recursive diff --git a/.gitmodules b/.gitmodules index 5bbe154..c9e810c 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,7 +1,7 @@ [submodule "ArchiSteamFarm"] path = ArchiSteamFarm url = https://github.com/JustArchiNET/ArchiSteamFarm.git - branch = 6.0.2.6 + branch = 6.0.5.2 [submodule "BloomFilter"] path = BloomFilter url = https://gist.github.com/8c74d66798a21e05a35b0023573f48e9.git diff --git a/README.md b/README.md index e470e86..451f635 100644 --- a/README.md +++ b/README.md @@ -37,6 +37,27 @@ The plugin behavior is configurable via command In addition to the command above, the configuration is stored in a 📖```config/freegames.json.config``` json file, one may 🖊 edit it using a text editor to suit its need. +**Proxy Setup** + +The plugin can be configured to use a proxy (HTTP(S), SOCKS4 or SOCKS5) for its HTTP requests to Reddit. You can achieve this in two ways: + +1. **Environment Variable:** Set the environment variable `FREEGAMES_RedditProxy` with your desired proxy URL (e.g., `http://yourproxy:port`). +2. **`freegames.json.config`:** Edit the `redditProxy` property within the JSON configuration file located at `/config/freegames.json.config`. Set the value to your proxy URL. + +**Example `freegames.json.config` with Proxy:** + +```json +{ + ... + "redditProxy": "http://127.0.0.1:1080" +} +``` + +**Important Note:** If you pass a proxy **password**, it will be **stored in clear text** in the `freegames.json.config` file, even when passing it via the environment variable. + +**Note:** Whichever method you choose (environment variable or config file), only one will be used at a time. +The environment variable takes precedence over the config file setting. + ## FAQ