--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
FWIW the data pack is very simple (see an example here: https://code.google.com/p/chromium/codesearch#chromium/src/ui/base/resource/data_pack_literal.cc&sq=package:chromium&type=cs and if you run the tool tools/grit/grit/format/data_pack.py [data.pak] it will dump the contents of the pack in a not very friendly format to parse (Code here: https://code.google.com/p/chromium/codesearch#chromium/src/tools/grit/grit/format/data_pack.py&sq=package:chromium&type=cs&l=160) but this could easily be modified to dump out files.
On Friday, July 26, 2013, Nico Weber wrote:
That's a custom pak format for resources. Chromium contains code for reading these files.Why do you want to open it? It'll just unpack into stuff that's in the source tree already. pak files are used to make opening resources (like translations, UI bitmaps, etc) faster at chromium startup.
After build chrome for android, and find some .pak file under asserts in each target. How can I open it?I tried 7zip and ubuntu archive manager, all doesn't work.Thanks!--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
Really curious if someone can point me in the direction of how to properly repack the pak. I am trying to see if I can tweak context menus for kiosk mode. I've made a change I want to test, but the repack.py script doesn't work like data_pack.py does where I can run it autonomously and it just works.
- J
On Friday, July 26, 2013 11:30:16 AM UTC-7, goplayer wrote:After build chrome for android, and find some .pak file under asserts in each target. How can I open it?I tried 7zip and ubuntu archive manager, all doesn't work.Thanks!
--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
control PDF saving and printing
Thanks for the info PhistucK. Id really just like to disable those two buttons as they both lead to the open of a chromium window to save files and list the file directory structure of the system. Ive managed to clamp down any other avenue a user might get to a terminal and file folder access. If i can just find a way to disable them, i had hoped that if i could edit the .pak file at the very least i could retask them to simply rotate the pdf, another function on the same page. Anything to keep them from saving and opening the print dialog. Any ideas or suggestions would be greatly appreciated.