Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
.vscode
src
.esdoc.json
.eslintrc
.gitignore
LICENSE
README.md
babel.config.js
package.json
ss-1.png
ss-2.png
webpack.config.babel.js

README.md

Electron Audio Player

Standard - JavaScript Style Guide

Example of simple audio player in Electron.

Main UI

Main UI

Spectrum Analizer

Click on the music information area the spectrum analyzer is displayed.

Screenshot

Installation

  1. Install Node.js
  2. cd PROJECTDIR
  3. npm install

Development

Watch

Run the watch files, background complie JavaScript/CSS.

npm start

Launch application

Launch the Electron app on electron-prebuilt. Target for the src dir.

npm run app

Unit test

Run the ES6 code of unit tests on mocha ( with power-assert and espower-babel ).

npm test

Code document

Run the code document generation by esdoc.

npm run esdoc

Release build

Build the app for production. Please build individually because there is a platform-specific processing.

npm run release:osx
npm run release:win
npm run release:linux

or

npm run release:build
npm run release:pack-osx
npm run release:pack-win
npm run release:pack-linux
  • It is also will be skipped by running the release:osx or release:pack-osx in the Windows environment.

Package for Windows in macOS

How to build a package for Windows in macOS. Introduction you will install the WineHQ. It is recommended that you use the Homebrew.

brew install wine

Then run the following command. If it is correct environment you should succeed to build the package for Windows.

npm run release:win

or

npm run release

release is a package for all platforms.

DEBUG variable

It is available DEBUG variable for debugging dedicated processing.

if (DEBUG) {
  // Debug only...
}

This process will be removed in a release version.

License

MIT