diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 53d0090a..8b94175b 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -61,12 +61,11 @@ jobs: asset_path: ./saltbot.zip asset_name: saltbot ${{env.TAG_VERSION}}.zip asset_content_type: application/zip - - name: Publish in Chrome Store - uses: Passiverecords/chrome-extension-upload-action@1.4.1 + - name: Publish in Firefox Store + uses: trmcnvn/firefox-addon@v1 with: - app-id: 'bholoegapebhflljekancpcnajigaiih' - file-name: './saltbot.zip' - client-id: ${{ secrets.CLIENT_ID }} - client-secret: ${{ secrets.CLIENT_SECRET }} - refresh-token: ${{ secrets.REFRESH_TOKEN }} - publish: true + uuid: '{19d4bb02-364f-4095-b061-92cfeb308d1e}' + xpi: ./saltbot.zip + manifest: dist/manifest.json + api-key: ${{ secrets.FIREFOX_API_KEY }} + api-secret: ${{ secrets.FIREFOX_API_SECRET }} diff --git a/README.md b/README.md index 045113ce..fef3b694 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ A betting bot for [SaltyBet.com](http://saltybet.com) * Read about it [**here**](http://explosionduck.com/wp/story-of-a-betting-bot/) and learn how to use it [**here**](http://explosionduck.com/wp/so-you-want-to-use-saltbot/). * Download sample data(match record and chromosome) above or [**click here.**](https://github.com/saltbot-org/saltbot/tree/master/data/2020-01-27) -* Download the app from the Chrome Store [**here**](https://chrome.google.com/webstore/detail/saltbot/bholoegapebhflljekancpcnajigaiih). +* Install the Add-On from Firefox [**here**](https://addons.mozilla.org/de/firefox/addon/salt-bot/). # System Requirements **Minimum Specs:** @@ -15,7 +15,7 @@ A betting bot for [SaltyBet.com](http://saltybet.com) * Quad Core processor 3.0Ghz+ * 8gb DDR3 RAM 1600mhz -# Installing latest version(Chrome/Chromium) +# Installing latest version(Firefox) To install the git version of this extension: * Clone the repo: @@ -26,19 +26,12 @@ To install the git version of this extension: * Open the command line and go to the base of the project where the file package.json is located * Run `npm install && npm run build` -* Open chrome extension settings and enable developer mode -* Click "load unpacked extension" -* Navigate to the '/dist/' folder and load it +* Open [about:debugging#/runtime/this-firefox](about:debugging#/runtime/this-firefox) +* Click "Load Temporary Add-On..." * Import the data and chromosome files * Select your preferred mode and settings and let it run. -# Updating - -To keep your version up to date simply: -* Run `git pull` -* Run `npm install && npm run build` -* Open Chrome Extension settings and click "reload" on Saltbot -* Reload saltybet.com and the twitch chat tab +This version of Saltbot will only be available until Firefox is closed. # Bug Reports diff --git a/dist/config.html b/dist/config.html index 0f5a559e..6f1f3c3d 100644 --- a/dist/config.html +++ b/dist/config.html @@ -5,7 +5,12 @@ + + + + +
@@ -37,6 +42,22 @@Restore crashed or closed saltybet tabs
+Players by % @@ -48,6 +69,7 @@