Canonical repo for Dong Web (dong.vielle.dev)
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Update manifest

+19 -19
-8
src/pages/index.astro
··· 188 188 load_dong.audio.play(); 189 189 } 190 190 191 - // if ("LaunchParams" in window && 'launchQueue' in window && 'files' in window.LaunchParams.prototype) { 192 - // window.launchQueue.setConsumer((launchParams) => { 193 - // if (launchParams.files && launchParams.files.length) { 194 - // handleFile(launchParams.files[0]); 195 - // } 196 - // }); 197 - // } 198 - 199 191 if ("launchQueue" in window && "LaunchParams" in window) { 200 192 (window as any).launchQueue.setConsumer( 201 193 async (launchParams: { files: any[] }) => {
+19 -11
src/pages/manifest.json.ts
··· 16 16 JSON.stringify({ 17 17 name: "Dong Web", 18 18 short_name: "Dong", 19 - // icons generated by https://www.pwabuilder.com/imageGenerator from "logo.svg" 20 19 icons: [ 21 20 { 22 21 src: "windows11/SmallTile.scale-100.png", ··· 474 473 { 475 474 action: "/", 476 475 accept: { 477 - "application/prs.vielle.dong": [".dong"], 478 - } 479 - } 480 - ] 481 - }), 482 - { 483 - headers: { 484 - "Content-Type": "application/json", 485 - }, 486 - } 476 + "application/prs.vielle.dong": [".dong"], 477 + }, 478 + }, 479 + ], 480 + theme_color: "#f80085", 481 + background_color: "#1a0d26", 482 + id: "dev.vielle.dong", 483 + description: "A PWA to read and create .dong files", 484 + dir: "ltr", 485 + lang: "en", 486 + orientation: "portrait-primary", 487 + display_override: [ 488 + "standalone", 489 + "minimal-ui", 490 + "browser", 491 + "window-controls-overlay", 492 + ], 493 + categories: ["games", "music", "photo", "utilities"], 494 + }) 487 495 ); 488 496 };