diff --git a/.gitignore b/.gitignore
index e80463637630a65c636585e7dfba50cf54982be2..f9d1e04ad86c99106fefa69f06f635806e0b6ba4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@ node_modules
 build
 *.tar.gz
 /.idea
+.DS_Store
diff --git a/scripts/build.js b/scripts/build.js
index 1fdb7a233d1a881e349dc391bdb15320ecb3bf03..67adc6c9bf7f03d20ddb5056ee39e99bdad767da 100644
--- a/scripts/build.js
+++ b/scripts/build.js
@@ -124,10 +124,9 @@ async function buildJs(mainFile, assets, extraFiles = []) {
 }
 
 function buildAppleAssociatedAppsFile(clients) {
-    const appIds = clients.map(c => c.appleAssociatedAppId).filter(id => !!id);
+    const appIds = clients.map(c => c.appleAssociatedAppId).flat().filter(id => !!id);
     return JSON.stringify({
         "applinks": {
-            "apps": [],
             "details": {
                 appIDs: appIds,
                 components: [
@@ -136,9 +135,6 @@ function buildAppleAssociatedAppsFile(clients) {
                     }
                 ]
             },
-        },
-        "webcredentials": {
-            "apps": appIds
         }
     });
 }
diff --git a/src/open/clients/Element.js b/src/open/clients/Element.js
index 978769522ca6c67eeb7f9360567629b351db1507..06ca2feff2e4cb7bc55afec5c0abd48e1b674b74 100644
--- a/src/open/clients/Element.js
+++ b/src/open/clients/Element.js
@@ -42,7 +42,14 @@ export class Element {
     }
 
     get icon() { return "images/client-icons/element.svg"; }
-    get appleAssociatedAppId() { return "7J4U792NQT.im.vector.app"; }
+    get appleAssociatedAppId() { 
+        return [
+            "7J4U792NQT.im.vector.app",
+            "7J4U792NQT.io.element.elementx",
+            "7J4U792NQT.io.element.elementx.nightly",
+            "7J4U792NQT.io.element.elementx.pr"
+        ]; 
+    }
     get name() {return "Element"; }
     get description() { return 'Fully-featured Matrix client, used by millions.'; }
     get homepage() { return "https://element.io"; }