Add extra install links

This commit is contained in:
Willy-JL
2024-07-16 00:37:00 +01:00
parent 8004e654a5
commit 572fc372a9
3 changed files with 22 additions and 3 deletions
+8 -2
View File
@@ -6,6 +6,7 @@ import os
artifact_tgz = f"{os.environ['INDEXER_URL']}/firmware/dev/{os.environ['ARTIFACT_TAG']}.tgz"
artifact_sdk = f"{os.environ['INDEXER_URL']}/firmware/dev/{os.environ['ARTIFACT_TAG'].replace('update', 'sdk')}.zip"
artifact_lab = f"https://lab.flipper.net/?url={artifact_tgz}&channel=dev-cfw&version={os.environ['VERSION_TAG']}"
if __name__ == "__main__":
@@ -51,8 +52,13 @@ if __name__ == "__main__":
"value": f"[Changes since {release}]({event['repository']['html_url']}/blob/{after}/CHANGELOG.md)"
},
{
"name": "Download artifacts:",
"value": f"- [Download Firmware TGZ]({artifact_tgz})\n- [SDK (for development)]({artifact_sdk})"
"name": "Firmware artifacts:",
"value": "\n".join([
f"- [🖥️ Install with Web Updater](https://momentum-fw.dev/update)",
f"- [☁️ Open in Flipper Lab/App]({artifact_lab})",
f"- [🐬 Download Firmware TGZ]({artifact_tgz})",
f"- [🛠️ SDK (for development)]({artifact_sdk})",
])
}
],
"timestamp": dt.datetime.utcnow().isoformat()
+2
View File
@@ -1,6 +1,8 @@
## ⬇️ Download
>### [🖥️ Web Updater (chrome)](https://momentum-fw.dev/update) [recommended]
>### [☁️ Flipper Lab/App (chrome/mobile)](https://lab.flipper.net/?url=https://up.momentum-fw.dev/firmware/{VERSION_TAG}/flipper-z-f7-update-{VERSION_TAG}.tgz&channel=release-cfw&version={VERSION_TAG})
>### [🐬 qFlipper Package (.tgz)](https://github.com/Next-Flip/Momentum-Firmware/releases/download/{VERSION_TAG}/flipper-z-f7-update-{VERSION_TAG}.tgz)
>### [📦 Zipped Archive (.zip)](https://github.com/Next-Flip/Momentum-Firmware/releases/download/{VERSION_TAG}/flipper-z-f7-update-{VERSION_TAG}.zip)
+12 -1
View File
@@ -133,7 +133,7 @@ Note that this repo is always updated with the great work from our friends at [U
<h2 align="center">Install:</h2>
<br>
There are 3 methods to install Momentum, we recommend you use the **Web Updater**, but choose whichever one you prefer:
There are 4 methods to install Momentum, we recommend you use the **Web Updater**, but choose whichever one you prefer:
<br>
@@ -144,6 +144,17 @@ There are 3 methods to install Momentum, we recommend you use the **Web Updater*
> <li>Click <code>Flash</code> and wait for the update to complete</li>
> </ul></details>
> <details><summary><code>Flipper Lab/App (chrome/mobile)</code></summary><ul>
> <li>(Desktop) Make sure qFlipper is closed</li>
> <li>(Mobile) Make sure you have the <a href="https://docs.flipper.net/mobile-app">Flipper Mobile App</a> installed and paired</li>
> <li>Open the <a href="https://github.com/Next-Flip/Momentum-Firmware/releases/latest">latest release page</a></li>
> <li>Click the <code>☁️ Flipper Lab/App (chrome/mobile)</code> link</li>
> <li>(Desktop) Click <code>Connect</code> and select your Flipper from the list</li>
> <li>(Desktop) Click <code>Install</code> and wait for the update to complete</li>
> <li>(Mobile) Accept the prompt to open the link in the Flipper Mobile App</li>
> <li>(Mobile) Confirm to proceed with the install and wait for the update to complete</li>
> </ul></details>
> <details><summary><code>qFlipper Package (.tgz)</code></summary><ul>
> <li>Download the qFlipper package (.tgz) from the <a href="https://github.com/Next-Flip/Momentum-Firmware/releases/latest">latest release page</a></li>
> <li>Make sure the <code>WebUpdater</code> and <code>lab.flipper.net</code> are closed</li>