I'm trying to automatize installing of my addon. Mozilla says that it's very simple, but:
while
loops in .bat files or sleep
for milisec.activate.bat
and cfx xpi
in one CMD window sequentially, and also use wget in other CMD after all.How can I do even if second part? I've tried something like:
START cmd /K "activate "cfx xpi"" && wget --post-file=tst-closing-cur-tab.xpi http://localhost:8888/
or
START cmd /K "activate && "cfx xpi"" && wget --post-file=tst-closing-cur-tab.xpi http://localhost:8888/
but it always run cfx
in CMD, not in 'virtual CMD' after activate
I use this
call "c:\Firefox\Sdk\bin\activate.bat"
cd c:\dev-1.0.2.5-firefox\
cfx xpi
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With