Closed batashi closed 3 years ago
Dear Ahmed,
When it comes to security I would rather not use Java the have tons for security flaws.
If you are not ok with python which is very easy u can use shell script directly with electonjs
a script to start with mac address tools
its located in /home/kodachi/.kbase/newmac
or /home/kodachi/.kbase/domaincontrol
Both are very simple to understand
welcome @WMAL , Good. it's a chance to learn electron and python. let's see.
while this , can you update github to latest Kodachi version.
@WMAL kindly check newmac prototype.
seeking your feedback
@WMAL static UI created based on prototype.
no shell linking till now.
That's awesome Ahmed for the code just download the iso it has all the latest code I will update here later when I have time.
How are you going to link that with shell ? Can you do it directly or u need python in between I guess
I prefer to work directly with Shell. Will see and back to you.
Dear @WMAL Current issue : newmac is responsive cli tool. for future updates we should keep it running for same base code. cli and gui .
Currently I couldn't pass parameters to newmac tool.
for example :
error :
my current action is reading newmac script and select parts needed within electronjs and write another code here. it's decoupled our efforts.
seeking your suggestions.
Hi, Why do you need to pass parameter into the shell code your best way is to run shell code within electronjs if not possible then via pyhton it can be done easily.
Back end should be integrated with front end in single code if possible
@WMAL , by run newmac shell script, it's only show main screen which is select option. I cannot control from outside (electronjs or any other programming tool)
at all I see electronjs not well ready for work with shell by default.
I have try shelljs which is good for nodeJS but not for electronjs because exec bash script directly not work. and need more work around.
by next time. I will see how I can complete with electronJS or see an alternative.
If you want see my code there is gui_newmac folder in .kbase in my fork.
Thx Ahmed I will check the code
@WMAL nice to see this milestone. I am interested in general . Can you suggest a script to start with.i hope [simple & important]
electron is good for this but for end user it's not a big difference if I start with Java, while it's available in base system. >> I prefer because : a. I know much
b. easy to track complexity. c. FXML is lovely GUI. d. cross platform. we can use this final tool across other distros. no GUI barriers.
If we agreed about which framework to use.
from your side please .
from my side.