有没有可能只用命令行(Ubuntu- server )在服务器上打包带密钥的chrome扩展(*.pem)?
发布于 2013-09-10 00:13:55
您可以按照documentation中的说明使用应用程序开关--pack-extension和--pack-extension-key。
基本上,在Windows上,您可以在终端中运行以下命令:
chrome.exe --pack-extension=c:\myext --pack-extension-key=c:\myext.pem它也可以在Mac上运行:
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --pack-extension=./myext --pack-extension-key=./myext.pem在Ubuntu上应该是类似的。
省略--pack-extension-key将自动为您创建一个密钥。
https://stackoverflow.com/questions/18693962
复制相似问题