Skip to content

Commit e103591

Browse files
committed
fix(apk): provide maskable icon
1 parent 8073fa6 commit e103591

File tree

3 files changed

+17
-7
lines changed

3 files changed

+17
-7
lines changed

.github/workflows/main.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,5 @@ jobs:
2525
node-version: ${{ matrix.node-version }}
2626
- run: npm install
2727
- run: npm run build --if-present
28-
- run: cp -r .well-known public/.well-known
2928
- run: npm run lint
3029
- run: npm run test

gatsby-config.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,11 @@ module.exports = {
3232
theme_color: "#fafafa",
3333
display: "fullscreen",
3434
icon: "src/images/eye.png", // This path is relative to the root of the site.
35+
icon_options: {
36+
// For all the options available,
37+
// please see the section "Additional Resources" below.
38+
purpose: `any maskable`,
39+
},
3540
},
3641
},
3742
// this (optional) plugin enables Progressive Web App + Offline functionality

static/.well-known/assetlinks.json

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
1-
[{
2-
"relation": ["delegate_permission/common.handle_all_urls"],
3-
"target" : { "namespace": "android_app", "package_name": "com.cxspxr.twoeyes",
4-
"sha256_cert_fingerprints": ["2F:46:BD:1A:3F:0C:B3:C0:C6:93:2E:B8:80:4B:8B:59:D4:0F:25:2A:9E:75:3E:25:6D:DD:ED:2A:8C:77:5F:F7"] }
5-
}]
6-
1+
[
2+
{
3+
"relation": ["delegate_permission/common.handle_all_urls"],
4+
"target": {
5+
"namespace": "android_app",
6+
"package_name": "com.cxspxr.twoeyes",
7+
"sha256_cert_fingerprints": [
8+
"2F:46:BD:1A:3F:0C:B3:C0:C6:93:2E:B8:80:4B:8B:59:D4:0F:25:2A:9E:75:3E:25:6D:DD:ED:2A:8C:77:5F:F7"
9+
]
10+
}
11+
}
12+
]

0 commit comments

Comments
 (0)