Firefox的omni.ja解压缩问题

上网、浏览、聊天、下载等
回复
sanz
帖子: 1010
注册时间: 2006-09-29 5:11

Firefox的omni.ja解压缩问题

#1

帖子 sanz » 2014-07-31 11:49

虽然基本上改动都用extension了,但是总是有些时候需要直接在omni.ja里修改一些东西。不知道从哪个版本开始,直接点击Firefox自带的这个压缩文件打不开了(fire-roller)。格式不识别。无助了很久,后来发现用unzip可以解包,然后再用zip -qr9XD omni.ja *打包。这样虽然可以,但是还是有点麻烦。
自己用zip命令打包的omni.ja是可以直接点击用fire-roller打开的,但是修改无法修改。提示
"7-Zip [64] 9.20 Copyright (c) 1999-2010 Igor Pavlov 2010-11-18
p7zip Version 9.20 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,4 CPUs)

Error: /home/sanz/Desktop/omni/omni.ja is not supported archive"

对各种压缩方式不了解,怎么办?

Ubuntu12.04LTS + Firefox 31.0 + Fire roller 3.4.1
Dell D620 -> Asus U44SG
Dapper->Edgy->Feisty->Gutsy->Hardy->Karmic->Lucid -> Oneric -> Precise->Trusty
Python+JS
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: Firefox的omni.ja解压缩问题

#2

帖子 poloshiao » 2014-07-31 14:20

Don't Unpack and Repack omni.ja
If you really think you have a use case for unpacking the omni.ja[r], let me know and I'll try to prove you wrong.
http://mike.kaply.com/2013/05/06/dont-u ... -omni-jar/
底下有 130 多篇討論文章可以看看
taohunter
帖子: 1555
注册时间: 2012-03-31 3:29

Re: Firefox的omni.ja解压缩问题

#3

帖子 taohunter » 2014-08-01 13:32

https://developer.mozilla.org/zh-CN/doc ... _omni.jar)

¨Several unzip tools and archives (including any version of 7-Zip) currently cannot read omni.ja, due to the optimization that is applied to the file. It is suggested that Windows 7 users unzip the file by renaming it to omni.zip and using Windows Explorer to extract all files. Users of older versions of Windows can use InfoZip's UnZip tool to extract files - make a copy of omni.ja, and drag-and-drop it onto unzip.exe. Linux users can simply use unzip command to inflate files of omni.ja.¨
三年后终于回到16.04--稳定了!
sanz
帖子: 1010
注册时间: 2006-09-29 5:11

Re: Firefox的omni.ja解压缩问题

#4

帖子 sanz » 2014-08-02 7:42

poloshiao 写了:Don't Unpack and Repack omni.ja
If you really think you have a use case for unpacking the omni.ja[r], let me know and I'll try to prove you wrong.
http://mike.kaply.com/2013/05/06/dont-u ... -omni-jar/
底下有 130 多篇討論文章可以看看
早就看过类似的说法,基本认同。但是有时候改omni.ja实在要方便点。
Dell D620 -> Asus U44SG
Dapper->Edgy->Feisty->Gutsy->Hardy->Karmic->Lucid -> Oneric -> Precise->Trusty
Python+JS
回复