Electron version of Web MiniDisc Pro
For all the people who want to use all of Web MiniDisc Pro's features but don't want to use Google Chrome
If you're not a developer, and are just looking for a pre-built app, you can download it from the releases section.
MacOS users might need to run some Terminal commands for the app to work due to Apple's restrictive security policies. These commands are listed from here onwards.
The project consists of two parts:
- The main electron code
- The renderer (GUI) code (The Web MiniDisc project itself)
This repository contains only the main electron app. Upon building, it will clone the renderer repository (https://github.com/asivery/webminidisc), and build that too.
You can:
- Install node modules (
npm i
) (the--legacy-peer-deps
switch might be required for newer node.js versions) - Start the development version (
npm start
) - Deploy the production version (
npm run dist
) - Deploy the production versions for macOS (
npm run dist-mac
)
Because of Web Minidisc Pro's reliance on older versions of packages such as React and material-ui, you might need to change
npm i
to
npm i --legacy-peer-deps
in build-renderer.sh
depending on your node.js version.
Make sure Xcode Build Tools CLI & Homebrew are properly installed - in the Terminal run:
xcode-select install
- to install XCode Command Line Tools/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
- to install Homebrew
In macOS Terminal: brew install --build-from-source gcc
, wait for it to finish then run brew install vips
(this command may install gcc again from an available pre-built binary, if one exists for your current macOS version, this is normal behaviour as gcc is needed for vips to work).
Assuming you've completed the above steps, you should be able to follow the standard procedure - run:
npm i --legacy-peer-deps
to install the dependenciesnpm run dist-mac
to create the binary packages
(For users unfamiliar, the following commands may also need Xcode CLI installed, so start with this, then return to this step.)
To de-quarantine the app on macOS run the following command in the terminal:
xattr -d com.apple.quarantine "/path/to/your.app"
To codesign the local binary with a self-signing certificate run:
codesign --sign - --force --deep "/path/to/your.app"
This should be all that is needed, enjoy the application.
Should you run into any issue, you can, of course, open a new issue on this github or reach out to any of the current contributors via the MiniDisc.wiki Discord in the #research or #software-help channels
Many thanks to cybercase for writing the original Web MiniDisc and letting so many people experience this forgotten format again.