Add "DownloadManagement" app feature for use in NativeShell clients (#6833)

* Add "DownloadManagement" app feature for use in NativeShell clients

* Address review feedback

* Address review feedback (round 2)
This commit is contained in:
Niels van Velzen
2025-05-13 21:35:15 +02:00
committed by GitHub
parent b08f7d73c1
commit 7dfc1a1494
5 changed files with 54 additions and 4 deletions
+5
View File
@@ -15,6 +15,11 @@ export default {
window.NativeShell.openClientSettings();
}
},
openDownloadManager: () => {
if (window.NativeShell?.openDownloadManager) {
window.NativeShell.openDownloadManager();
}
},
openUrl: function(url, target) {
if (window.NativeShell?.openUrl) {
window.NativeShell.openUrl(url, target);