File tree Expand file tree Collapse file tree 3 files changed +30
-8
lines changed
Expand file tree Collapse file tree 3 files changed +30
-8
lines changed Original file line number Diff line number Diff line change 11.env
2- result /
2+ result
33dist
44node_modules
55.idea
Original file line number Diff line number Diff line change 1+ # Element Call on RoomOS
2+
3+ A macro to integrate Element Call in RoomOS.
4+
5+ ---
6+
7+ *** NOTE:*** a nix shell environment is included for your convenience, run ` nix `
8+
9+ How to build:
10+ ``` shell
11+ npm run build
12+ # Copy dist/module.js into a macro, save and activate
13+ ```
14+
15+ How to test:
16+ ``` shell
17+ # Create .env:
18+ # ROOMKIT_URL=wss://someaddress/
19+ # ROOMKIT_USER=user
20+ # ROOMKIT_PASS=password
21+ npm run dev
22+ ```
Original file line number Diff line number Diff line change 2424 {
2525 packages = {
2626 default = pkgs . buildNpmPackage {
27- pname = "cisco-element-call-macro " ;
28- name = "cisco-element-call-macro " ;
27+ pname = "cisco-element-call" ;
28+ name = "cisco-element-call" ;
2929
3030 meta = with lib ; {
3131 description = "A call to host element call on a Cisco WebEx device." ;
32- homepage = "https://github.com/spacebarchat/server " ;
33- license = licenses . agpl3Plus ;
32+ homepage = "https://github.com/TheArcaneBrony/cisco-element-call " ;
33+ # license = licenses.agpl3Plus;
3434 platforms = platforms . all ;
35- mainProgram = "exec " ;
35+ mainProgram = "start-macro " ;
3636 } ;
3737
3838 src = ./. ;
5050 find node_modules -maxdepth 1 -type d -empty -delete
5151
5252 mkdir -p $out
53- cp -r assets dist node_modules package.json $out/
54- makeWrapper ${ pkgs . nodejs } /bin/node $out/bin/start-macro --prefix NODE_PATH : $out/node_modules --add-flags $out/$i
53+ cp -r dist node_modules package.json $out/
54+ makeWrapper ${ pkgs . nodejs } /bin/node $out/bin/start-macro --prefix NODE_PATH : $out/node_modules --add-flags $out/dist/index.js
5555
5656 set +x
5757 runHook postInstall
You can’t perform that action at this time.
0 commit comments