kagucho2017 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/kagucho2017
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:
title
in stringauthor
in string (optional)src
as 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:
title
in stringauthor
in string (optional)constraints
This is a constructor of game entry implemented as executable. The first argument is an object with following properties:
title
in stringauthor
in string (optional)description
as absolute path to HTML file in stringphotos
as items PhotoSwipe acceptssrc
as absolute path to executable file in string
This is a constructor of directory entry. The first argument is an object with following properties:
title
in stringauthor
in string (optional)background
as absolute path to image file in stringentries
as an array of entriesicon
as textual name of an icon in Material icons in stringiconColor
as CSS color in string
This is a constructor of directory opener entry. The first argument is an object with following properties:
title
in stringauthor
in string (optional)src
as absolute path to directory in string
This is a constructor of HTML entry. The first argument is an object with following properties:
title
in stringauthor
in string (optional)description
in stringsrc
as 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/kagucho2017.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.