diff --git a/files/assets/Drama_v1.7.apk b/files/assets/Drama_v1.7.apk deleted file mode 100644 index ddc374f0d..000000000 Binary files a/files/assets/Drama_v1.7.apk and /dev/null differ diff --git a/files/assets/Ruqqus_v1.7.apk b/files/assets/Ruqqus_v1.7.apk index 09a31ea1c..c6363cb8e 100644 Binary files a/files/assets/Ruqqus_v1.7.apk and b/files/assets/Ruqqus_v1.7.apk differ diff --git a/files/assets/assetlinks.json b/files/assets/assetlinks.json new file mode 100644 index 000000000..04237498a --- /dev/null +++ b/files/assets/assetlinks.json @@ -0,0 +1,9 @@ +[{ + "relation": ["delegate_permission/common.handle_all_urls"], + "target": { + "namespace": "android_app", + "package_name": "files", + "sha256_cert_fingerprints": + ["ED:D9:72:9B:CD:61:52:18:AB:95:D0:21:BD:7F:04:6F:89:04:AC:B9:73:A2:2E:90:A5:2B:0C:13:F8:4A:EC:18"] + } + }] \ No newline at end of file diff --git a/files/routes/static.py b/files/routes/static.py index 0e72c8911..1e9afc85f 100644 --- a/files/routes/static.py +++ b/files/routes/static.py @@ -400,4 +400,9 @@ def settings_security(v): return render_template("settings_security.html", v=v, mfa_secret=pyotp.random_base32() if not v.mfa_secret else None - ) \ No newline at end of file + ) + +@app.get("/.well-known/assetlinks.json") +def googleplayapp(): + with open("files/assets/assetlinks.json", "r") as f: + return Response(f.read(), mimetype='application/json') \ No newline at end of file