add electron mod to ensure proper vars set for build
This commit is contained in:
parent
ac8b9c86cb
commit
38cc105d8a
4 changed files with 22 additions and 1 deletions
9
mods/electron/init.js
Normal file
9
mods/electron/init.js
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
/**
|
||||
* for electron standalone build support
|
||||
*/
|
||||
module.exports = function(server) {
|
||||
// insert script before all others in kiri client
|
||||
server.inject("kiri", "electron.js");
|
||||
// insert scripts into mesh client
|
||||
server.inject("mesh", "electron.js");
|
||||
};
|
||||
Loading…
Reference in a new issue