add electron mod to ensure proper vars set for build

This commit is contained in:
Stewart Allen 2025-02-04 18:36:25 -05:00
commit 38cc105d8a
4 changed files with 22 additions and 1 deletions

9
mods/electron/init.js Normal file
View 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");
};