work-in-progress, untested
This commit is contained in:
parent
85b9b17506
commit
2bea761d3c
3 changed files with 41 additions and 1 deletions
|
@ -30,7 +30,11 @@ Make sure the postinstall script is ran, because otherwise the filenames are to
|
|||
|
||||
## Deploying
|
||||
|
||||
To upload the firmware to the BTClock, you need to GZIP all the files. You can use the python script `gzip_build.py` for that.
|
||||
To upload the firmware to the BTClock, you need to GZIP all the files. You can use the python script `gzip_build.py` for that:
|
||||
|
||||
```bash
|
||||
python3 gzip_build.py
|
||||
```
|
||||
|
||||
Then you can make a `LittleFS.bin` with mklittlefs:
|
||||
|
||||
|
|
|
@ -44,6 +44,8 @@
|
|||
"useNostr": "Use Nostr data source",
|
||||
"bitaxeHostname": "BitAxe hostname or IP",
|
||||
"bitaxeEnabled": "Enable BitAxe",
|
||||
"miningPoolName": "Mining Pool",
|
||||
"miningPoolUser": "Mining Pool username or api key",
|
||||
"nostrZapPubkey": "Nostr Zap pubkey",
|
||||
"invalidNostrPubkey": "Invalid Nostr pubkey, note that your pubkey does NOT start with npub.",
|
||||
"convertingValidNpub": "Converting valid npub to pubkey",
|
||||
|
|
|
@ -698,6 +698,40 @@
|
|||
</Col>
|
||||
</Row>
|
||||
{/if}
|
||||
{#if $settings.miningPoolStatsEnabled}
|
||||
<Row>
|
||||
<Label md={6} for="miningPoolName" size={$uiSettings.inputSize}
|
||||
>{$_('section.settings.miningPoolName')}</Label
|
||||
>
|
||||
<Col md="6">
|
||||
<Input
|
||||
type="text"
|
||||
bind:value={$settings.miningPoolName}
|
||||
name="miningPoolName"
|
||||
id="miningPoolName"
|
||||
bsSize={$uiSettings.inputSize}
|
||||
required
|
||||
minlength="64"
|
||||
></Input>
|
||||
</Col>
|
||||
</Row>
|
||||
<Row>
|
||||
<Label md={6} for="miningPoolUser" size={$uiSettings.inputSize}
|
||||
>{$_('section.settings.miningPoolUser')}</Label
|
||||
>
|
||||
<Col md="6">
|
||||
<Input
|
||||
type="text"
|
||||
bind:value={$settings.miningPoolUser}
|
||||
name="miningPoolUser"
|
||||
id="miningPoolUser"
|
||||
bsSize={$uiSettings.inputSize}
|
||||
required
|
||||
minlength="64"
|
||||
></Input>
|
||||
</Col>
|
||||
</Row>
|
||||
{/if}
|
||||
{#if 'nostrZapNotify' in $settings && $settings['nostrZapNotify']}
|
||||
<Row>
|
||||
<Label md={6} for="nostrZapPubkey" size={$uiSettings.inputSize}
|
||||
|
|
Loading…
Reference in a new issue