Electron backend for Musa.
Clone https://github.com/miikaah/musa
to its own directory.
Create an .env
file as per the .env.example
.
Mainly, the FRONTEND_DIR
and BACKEND_DIR
environment variables need to be set to the absolute file URLs of the repositories. The format depends on the platform.
Then you just npm run pack:<mac|win>
depending on which platform you are on.
On Mac the scripts are known to work in bash and on Windows on the command line.
The protocol.registerFileProtocol
is marked as deprecated but the replacing api does not support seeking streaming data like audio / video.