Skip to content

Commit

Permalink
[Build] Move manifest to .well-known/
Browse files Browse the repository at this point in the history
The location of IWA manifest was changed from `/manifest.webmanifest` to
`/.well-known/manifest.webmanifest` [1]. Reflect that change in our
sample IWA.

[1] More discussion: WICG/isolated-web-apps#24
  • Loading branch information
cyhuang1230 committed Sep 30, 2024
1 parent 0eccceb commit 335f07c
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 31 deletions.
2 changes: 1 addition & 1 deletion diagnostics-app/build_iwa.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ web_bundle=$(mktemp)

# Copy the files into the temporary folders
cp -r dist/diagnostics-app/* ${iwa_src}
cp -r iwa/public/* ${iwa_src}
cp -r iwa/public/. ${iwa_src}

# Create the bundle
wbn --dir ${iwa_src} --output ${web_bundle} --formatVersion b2
Expand Down
21 changes: 21 additions & 0 deletions diagnostics-app/iwa/public/.well-known/manifest.webmanifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"name": "Diagnostics App IWA",
"id": "/",
"scope": "/",
"start_url": "/",
"version": "0.1.0",
"display": "standalone",
"icons": [
{
"src": "/icon.png",
"type": "image/png",
"sizes": "512x512",
"purpose": "any maskable"
}
],
"permissions_policy": {
"camera": ["self"],
"microphone": ["self"],
"fullscreen": ["self"]
}
}
21 changes: 0 additions & 21 deletions diagnostics-app/iwa/public/manifest.webmanifest

This file was deleted.

9 changes: 0 additions & 9 deletions diagnostics-app/src/manifest.webmanifest

This file was deleted.

0 comments on commit 335f07c

Please sign in to comment.