Skip to content

Commit

Permalink
Add discriminator for 3.3+ builds
Browse files Browse the repository at this point in the history
  • Loading branch information
pkendall64 committed Sep 8, 2023
1 parent ad7ecc6 commit a8b0e9b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,9 @@ methodSelect.onchange = () => {
const getSettings = async (deviceType) => {
const config = selectedModel
const firmwareUrl = `firmware/${versionSelect.value}/${_('fcclbt').value}/${config.firmware}/firmware.bin`
const options = {}
const options = {
'flash-discriminator': Math.floor(Math.random()*((2**31)-2)+1)
}

if (_('uid').value !== '') {
options.uid = _('uid').value.split(',').map((element) => {
Expand Down

0 comments on commit a8b0e9b

Please sign in to comment.