@@ -438,11 +438,11 @@ function createWindow() {
438438 ) ;
439439 } ) ;
440440 eGet . on ( "connected" , ( ) => {
441- console . log (
442- "🚀 : file: main.js:495 : eGet.on : eServerPort:" ,
443- eServerPort
444- ) ;
445- console . log ( "🚀 : file: main.js:495 : eGet.on : eServerIP:" , eServerIP ) ;
441+ // console.log(
442+ // "🚀 : file: main.js:495 : eGet.on : eServerPort:",
443+ // eServerPort
444+ // );
445+ // console.log("🚀 : file: main.js:495 : eGet.on : eServerIP:", eServerIP);
446446 // win.webContents.on('did-finish-load', () => {
447447 win . webContents . send ( "eServerOK" , eAddress ) ;
448448 win . webContents . send (
@@ -470,7 +470,7 @@ function createWindow() {
470470
471471 function oscListening ( ) {
472472 oUDPport = preferences . value ( "network_settings.osc_receiver_port" ) ;
473- console . log ( "🚀 : file: main.js:523 : oscListening : oUDPport:" , oUDPport ) ;
473+ // console.log("🚀 : file: main.js:523 : oscListening : oUDPport:", oUDPport);
474474 // win.webContents.on('did-finish-load', () => {
475475 win . webContents . send ( "loginfo" , "Port de reception OSC:" + oUDPport ) ;
476476 // })
@@ -632,10 +632,10 @@ function createWindow() {
632632
633633 sFactor = Number ( sFactor ) ;
634634 let initialReq = await eGet . getElementByPath ( ePath ) ;
635- console . log (
636- "🚀 : file: main.js:783 : main : initialReq:" ,
637- initialReq
638- ) ;
635+ // console.log(
636+ // "🚀 : file: main.js:783 : main : initialReq:",
637+ // initialReq
638+ // );
639639 let parameter_type = initialReq . contents . parameterType ;
640640 let contents_type = initialReq . contents . type ;
641641 let contents = initialReq . contents ;
@@ -697,7 +697,7 @@ function createWindow() {
697697 } else if ( contents_type == "NODE" ) {
698698 let node_description = initialReq . contents . description ;
699699 let getDir = await ( await eGet . getDirectory ( initialReq ) ) . response ;
700- console . log ( "🚀 : file: main.js:864 : main : getDir:" , getDir ) ;
700+ // console.log("🚀 : file: main.js:864 : main : getDir:", getDir);
701701 nodeChildren = Object . keys ( initialReq . children ) ;
702702 for ( i = 0 ; i < nodeChildren . length ; i ++ ) {
703703 newreq = await eGet . getElementByPath (
@@ -720,20 +720,20 @@ function createWindow() {
720720 let function_cb = await (
721721 await eGet . invoke ( initialReq )
722722 ) . response ;
723- console . log (
724- "🚀 : file: main.js:727 : main : function_cb.result[0]:" ,
725- function_cb
726- ) ;
723+ // console.log(
724+ // "🚀 : file: main.js:727 : main : function_cb.result[0]:",
725+ // function_cb
726+ // );
727727 win . webContents . send (
728728 "loginfo" ,
729729 "🚀 : file: main.js:724 : main : function_cb:" +
730730 JSON . stringify ( function_cb . result )
731731 ) ;
732732 } else {
733- console . log (
734- "🚀 : file: main.js:720 : main : initialReq.contents.args:" ,
735- initialReq . contents . args
736- ) ;
733+ // console.log(
734+ // "🚀 : file: main.js:720 : main : initialReq.contents.args:",
735+ // initialReq.contents.args
736+ // );
737737 }
738738 win . webContents . send (
739739 "loginfo" ,
@@ -980,17 +980,17 @@ function createWindow() {
980980 win . webContents . send ( "noError" , myRow ) ;
981981 } catch ( error ) {
982982 msg = error . message ;
983- console . log ( "🚀 : file: main.js:1058 : main : msg:" , msg ) ;
983+ // console.log("🚀 : file: main.js:1058 : main : msg:", msg);
984984 win . webContents . send ( "loginfo" , msg ) ;
985985 }
986986 }
987987 ) ;
988988
989989 ipcMain . on ( "mtx_connect" , async ( event , mtx_path , check_t , check_s ) => {
990- console . log (
991- "🚀 : file: main.js:990 : ipcMain.on : mtx_path:" ,
992- mtx_path
993- ) ;
990+ // console.log(
991+ // "🚀 : file: main.js:990 : ipcMain.on : mtx_path:",
992+ // mtx_path
993+ // );
994994 let mtx = await eGet . getElementByPath ( mtx_path ) ;
995995 await eGet . matrixSetConnection ( mtx , check_t , check_s ) ;
996996 } ) ;
@@ -1129,66 +1129,66 @@ function createWindow() {
11291129 ) ;
11301130
11311131 ipcMain . on ( "expandNode" , async ( event , parentPath , currOpt_class ) => {
1132- console . log ( "🚀 : file: main.js:1173 : parentPath,:" , parentPath ) ;
1133- console . log (
1134- "🚀 : file: main.js:1173 : currOpt_class:" ,
1135- currOpt_class
1136- ) ;
1132+ // console.log("🚀 : file: main.js:1173 : parentPath,:", parentPath);
1133+ // console.log(
1134+ // "🚀 : file: main.js:1173 : currOpt_class:",
1135+ // currOpt_class
1136+ // );
11371137 if ( currOpt_class == "NODE" ) {
11381138 let childrenArray = [ ] ;
11391139 let expandReq = await eGet . getElementByPath ( parentPath . toString ( ) ) ;
1140- console . log ( "🚀 : file: main.js:1178 : == : expandReq:" , expandReq ) ;
1140+ // console.log("🚀 : file: main.js:1178 : == : expandReq:", expandReq);
11411141 let getDir = await eGet . getDirectory ( expandReq ) ;
11421142 try {
11431143 let getDirResponse = await getDir . response ;
11441144 } catch ( error ) {
1145- console . log ( "🚀 : file: main.js:1183 : == : error:" , error ) ;
1145+ // console.log("🚀 : file: main.js:1183 : == : error:", error);
11461146 }
11471147 let nodeChildren = Object . keys ( expandReq . children ) ;
1148- console . log (
1149- "🚀 : file: main.js:1187 : == : nodeChildren:" ,
1150- nodeChildren
1151- ) ;
1148+ // console.log(
1149+ // "🚀 : file: main.js:1187 : == : nodeChildren:",
1150+ // nodeChildren
1151+ // );
11521152
11531153 for ( i = 0 ; i < nodeChildren . length ; i ++ ) {
11541154 let numb_of_child = nodeChildren [ i ] ;
1155- console . log (
1156- "🚀 : file: main.js:1154 : == : ipcMain.on : numb_of_child:" ,
1157- numb_of_child
1158- ) ;
1155+ // console.log(
1156+ // "🚀 : file: main.js:1154 : == : ipcMain.on : numb_of_child:",
1157+ // numb_of_child
1158+ // );
11591159 let path_of_child =
11601160 parentPath . toString ( ) + "." + numb_of_child . toString ( ) ;
1161- console . log (
1162- "🚀 : file: main.js:1154 : == : ipcMain.on : path_of_child:" ,
1163- path_of_child
1164- ) ;
1161+ // console.log(
1162+ // "🚀 : file: main.js:1154 : == : ipcMain.on : path_of_child:",
1163+ // path_of_child
1164+ // );
11651165 let newChild = await eGet . getElementByPath ( path_of_child ) ;
1166- console . log (
1167- "🚀 : file: main.js:1113 : == : ipcMain.on : newChild:" ,
1168- newChild
1169- ) ;
1166+ // console.log(
1167+ // "🚀 : file: main.js:1113 : == : ipcMain.on : newChild:",
1168+ // newChild
1169+ // );
11701170 contents = newChild . contents ;
1171- console . log (
1172- "🚀 : file: main.js:1193 : == : newChild.contents:" ,
1173- newChild . contents
1174- ) ;
1171+ // console.log(
1172+ // "🚀 : file: main.js:1193 : == : newChild.contents:",
1173+ // newChild.contents
1174+ // );
11751175 number = newChild . number ;
11761176 if ( newChild . parent . path ) {
11771177 parentPath = newChild . parent . path ;
11781178 } else if ( newChild . parent . number ) {
11791179 parentPath = newChild . parent . number . toString ( ) ;
11801180 }
1181- console . log (
1182- "🚀 : file: main.js:1195 : == : newChild.number:" ,
1183- newChild . number
1184- ) ;
1181+ // console.log(
1182+ // "🚀 : file: main.js:1195 : == : newChild.number:",
1183+ // newChild.number
1184+ // );
11851185 base_path = { contents, number, parentPath } ;
11861186 childrenArray . push ( base_path ) ;
11871187 }
1188- console . log (
1189- "🚀 : file: main.js:1204 : == : childrenArray:" ,
1190- childrenArray
1191- ) ;
1188+ // console.log(
1189+ // "🚀 : file: main.js:1204 : == : childrenArray:",
1190+ // childrenArray
1191+ // );
11921192 win . webContents . send ( "expandedNode" , parentPath , childrenArray ) ;
11931193 win . webContents . send ( "expandedElement" , expandReq , false ) ;
11941194 } else if ( currOpt_class == "MATRIX" ) {
@@ -1217,7 +1217,7 @@ function createWindow() {
12171217 } ) ;
12181218 } catch ( error ) {
12191219 msg = error . message ;
1220- console . log ( "🚀 : file: main.js:1423 : main : msg:" , msg ) ;
1220+ // console.log("🚀 : file: main.js:1423 : main : msg:", msg);
12211221 throw Error ( error ) ;
12221222 }
12231223 }
0 commit comments