play-kagucho is the template for the disc which will be distributed in Ridaisai, the university festival of the Tokyo University Science.
You need to install dependencies. Run the following command in the root directory of this project:
npm install
Your blobs should be at blob.
Files in blob/kagucho2018 will be copied to the disc.
play and win32-x64 directory are reserved and therefore you should not
make files with same name in the directory.
COPYRIGHT.TXT and ABSTRACT.TXT will be used to describe copyright and
abstract.
blob/directory.js is a Node.js module which exports entries to be shown in
the player.
__dirname is at play directory. Therefore the root of the disc will be ...
Besides Node.js modules, you can use following modules:
This is a constructor of audio file entry. The first argument is an object with following properties:
titlein stringauthorin string (optional)srcas absolute path to audio file in string
This is a constructor of audio user media entry. The first argument is an object with following properties:
titlein stringauthorin string (optional)constraints
This is a constructor of game entry implemented as executable. The first argument is an object with following properties:
titlein stringauthorin string (optional)descriptionas absolute path to HTML file in stringphotosas items PhotoSwipe acceptssrcas absolute path to executable file in string
This is a constructor of directory entry. The first argument is an object with following properties:
titlein stringauthorin string (optional)backgroundas absolute path to image file in stringentriesas an array of entriesiconas textual name of an icon in Material icons in stringiconColoras CSS color in string
This is a constructor of directory opener entry. The first argument is an object with following properties:
titlein stringauthorin string (optional)srcas absolute path to directory in string
This is a constructor of HTML entry. The first argument is an object with following properties:
titlein stringauthorin string (optional)descriptionin stringsrcas absolute path to HTML file in string
You can get valid paths by prefixing with renderer/.
../play/renderer/license/agpl-3.0.html../play/renderer/license/electron.html- '../play/renderer/license/apache-2.0.html'
- '../play/renderer/license/mithril.html'
- '../play/renderer/license/photoswipe.html'
- '../play/renderer/license/webpack.html'
- '../play/icon.png'
After running the preparation task, just run:
make
And you'll have the result at output/kagucho2018.iso.
After building, run the following command to watch the latest changes of
scripts. Other changes such as musics or games to be embedded will not be
updated. If you want to update them, run make again.
make watch
While running make watch, you can execute the player with:
npm start
Enjoy.
Removes everything not included in the code distribution.
Removes output except the downloaded Electron.
Lints.
This software is licensed under Affero General Public License, version 3.0.
See play/renderer/license/agpl-3.0.html for details.