It seems that Backblaze returns `null` as the ACAO response if the scheme is not
http(s), even if we have set allowedOrigins to "*". The desktop app has a custom
scheme, "ente://app", which is thus causing B2 to return null.
# Works:
curl -v -X OPTIONS -H 'Origin: http://example.org' -H 'Access-Control-Request-Method: PUT' 'https://xxx.s3.eu-central-003.backblazeb2.com/yyy'
# Fails:
curl -v -X OPTIONS -H 'Origin: ente://example.org' -H 'Access-Control-Request-Method: PUT' 'https://xxx.s3.eu-central-003.backblazeb2.com/yyy'
Ref: https://github.com/ente-io/ente/discussions/2461#discussioncomment-10125881
Desktop app for Ente Photos
The sweetness of Ente Photos, right on your computer. Linux, Windows and macOS.
You can download a pre-built binary from releases.
To know more about Ente, see our main README or visit ente.io.
Building from source
Fetch submodules
git submodule update --init --recursive
Install dependencies
yarn install
Run in development mode (supports hot reload for the renderer process)
yarn dev
Or create a binary for your platform
yarn build
That's the gist of it. For more development related documentation, see docs.