Nex*_*xen 5 batch-file firefox-addon-sdk
我正在尝试自动安装我的插件.Mozilla说这很简单,但是:
while
在.bat文件或sleep
milisec中找到任何循环.activate.bat
,并cfx xpi
在一个CMD窗口顺序,也毕竟使用wget在其他CMD.即使第二部分我该怎么办?我尝试过类似的东西:
START cmd /K "activate "cfx xpi"" && wget --post-file=tst-closing-cur-tab.xpi http://localhost:8888/
要么
START cmd /K "activate && "cfx xpi"" && wget --post-file=tst-closing-cur-tab.xpi http://localhost:8888/
但它总是cfx
在CMD中运行,而不是在"虚拟CMD"之后运行activate
我用这个
call "c:\Firefox\Sdk\bin\activate.bat"
cd c:\dev-1.0.2.5-firefox\
cfx xpi
Run Code Online (Sandbox Code Playgroud)