diff --git a/cafe/app.tsx b/cafe/app.tsx index a4f5d005..fa841865 100644 --- a/cafe/app.tsx +++ b/cafe/app.tsx @@ -8,6 +8,7 @@ import { PlaneGeometry, Points, } from 'three' +import unmuteaudio from 'unmute-ios-audio' import { vm_loadfile } from 'zss/device/api' import { registerreadplayer } from 'zss/device/register' import { enableaudio } from 'zss/device/synth' @@ -15,6 +16,8 @@ import { Terminal } from 'zss/gadget/terminal' import { ispresent } from 'zss/mapping/types' import 'zss/platform' +unmuteaudio() + extend({ BufferGeometry, Group, diff --git a/cafe/manifest.webmanifest b/cafe/manifest.webmanifest index b356c629..4e88001e 100644 --- a/cafe/manifest.webmanifest +++ b/cafe/manifest.webmanifest @@ -7,6 +7,5 @@ "theme_color": "#00A", "start_url": "/", "display": "fullscreen", - "orientation": "portait", "icons": [] } \ No newline at end of file diff --git a/package.json b/package.json index b95228ab..a1162386 100644 --- a/package.json +++ b/package.json @@ -82,6 +82,7 @@ "ts-extras": "^0.13.0", "ts-jest": "^29.1.3", "typescript": "^5.2.2", + "unmute-ios-audio": "^3.3.0", "uqr": "^0.1.2", "vite": "^5.4.11", "vite-bundle-analyzer": "^0.13.1", diff --git a/yarn.lock b/yarn.lock index 2c45ce98..dba9d333 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5621,6 +5621,11 @@ universal-user-agent@^6.0.0: resolved "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-6.0.1.tgz#15f20f55da3c930c57bddbf1734c6654d5fd35aa" integrity sha512-yCzhz6FN2wU1NiiQRogkTQszlQSlpWaw8SvVegAc+bDxbzHgh1vX8uIe8OYyMH6DwH+sdTJsgMl36+mSMdRJIQ== +unmute-ios-audio@^3.3.0: + version "3.3.0" + resolved "https://registry.npmjs.org/unmute-ios-audio/-/unmute-ios-audio-3.3.0.tgz#94c0dd466175fa158defe11a36e9671a8735b9be" + integrity sha512-MmoCOrsS2gn3wLT2tT+hF56Q4V4kksIKn2LHrwAtX6umzQwQHDWSh1slMzH+0WuxTZ62s3w8/wsfIII1FQ7ACg== + update-browserslist-db@^1.1.1: version "1.1.1" resolved "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.1.1.tgz#80846fba1d79e82547fb661f8d141e0945755fe5"