Compare commits
2 Commits
0deb6217e8
...
2dd46af5b3
Author | SHA1 | Date |
---|---|---|
Sage Vaillancourt | 2dd46af5b3 | |
Sage Vaillancourt | 7a8b72d257 |
|
@ -14,6 +14,22 @@ const buildUpdates = async () => {
|
||||||
}))
|
}))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* {
|
||||||
|
* addons: {
|
||||||
|
* [stringId1]: {
|
||||||
|
* updates: [
|
||||||
|
* {
|
||||||
|
* version: '1.0.9.xpi',
|
||||||
|
* update_link: `https://bb-addon.sagev.space/${file}`
|
||||||
|
* },
|
||||||
|
* ...
|
||||||
|
* ]
|
||||||
|
* },
|
||||||
|
* [stringId2]: ...
|
||||||
|
* }
|
||||||
|
* }
|
||||||
|
*/
|
||||||
const buildJson = async () => {
|
const buildJson = async () => {
|
||||||
const uuid1 = '16f4f9af-ad27-41b7-adae-b0b08bc17b43'
|
const uuid1 = '16f4f9af-ad27-41b7-adae-b0b08bc17b43'
|
||||||
const uuid2 = 'svaillancourt@add123.com'
|
const uuid2 = 'svaillancourt@add123.com'
|
||||||
|
@ -23,8 +39,6 @@ const buildJson = async () => {
|
||||||
const updates = await buildUpdates()
|
const updates = await buildUpdates()
|
||||||
object.addons[uuid1] = { updates }
|
object.addons[uuid1] = { updates }
|
||||||
object.addons[uuid2] = { updates }
|
object.addons[uuid2] = { updates }
|
||||||
// object.addons[`{${uuid1}}`] = { updates }
|
|
||||||
// object.addons[`{${uuid2}}`] = { updates }
|
|
||||||
return JSON.stringify(object, null, 2)
|
return JSON.stringify(object, null, 2)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue