Skip to content

Safari doesn’t support OPFS createWritable method #13

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

rjmunro
Copy link

@rjmunro rjmunro commented Mar 19, 2025

Instead we have to use a Synchronous write method, which is only available if we are running in a web worker.

If we are not running in a worker, put a warning to console, and don’t leave behind an empty file.

rjmunro added 2 commits March 19, 2025 11:07
So we have to use a Synchronous write method, which is only available
if we are running in a web worker. Put a warning to console if we are
not, and don’t leave behind an empty file.
This means you can use a line in package.json like:

    "@diffusionstudio/vits-web": "[email protected]: diffusionstudio/vits-web.git#[SHA]",

to test a specific SHA version in another project before it's released.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant