自己编译的XPI,用unzip解压后是这个效果:
代码: 全选
cuihao@cuihao-arch shm $ unzip abp.xpi -oqd test
cuihao@cuihao-arch shm $ ls test -Al
总用量 44
drwxr-xr-x 2 cuihao cuihao 60 3月 3 11:47 chrome/
-rw------- 1 cuihao cuihao 5412 3月 3 11:28 chrome.manifest
drwxr-xr-x 2 cuihao cuihao 60 3月 3 11:47 components/
drwxr-xr-x 3 cuihao cuihao 80 3月 3 11:47 defaults/
-rw------- 1 cuihao cuihao 5727 3月 3 11:28 icon64.png
-rw------- 1 cuihao cuihao 3387 3月 3 11:28 icon.png
-rw------- 1 cuihao cuihao 21975 3月 3 11:28 install.rdf
drwxr-xr-x 2 cuihao cuihao 480 3月 3 11:47 modules/
随便找个现成的XPI解压,效果如下:
代码: 全选
cuihao@cuihao-arch /tmp $ unzip flashblock-1.5.15.xpi -oqd zip1
cuihao@cuihao-arch /tmp $ ls zip1 -Al
总用量 8
drwxr-xr-x 2 cuihao cuihao 60 3月 3 11:51 chrome/
-rw-r--r-- 1 cuihao cuihao 3849 5月 16 2011 chrome.manifest
drwxr-xr-x 3 cuihao cuihao 60 7月 23 2010 defaults/
-rw-r--r-- 1 cuihao cuihao 3009 7月 5 2011 install.rdf
zip文件也支持POSIX权限吗?