I have my Chrome extension which talks to a NativeHostClient. I want to create an installer to install my NativeHostClient (I just require a json file to move to NativeHost directory under Chrome folder).
I am fairly new to these installers. I tried few installer creators apps but all require admin privileges. Is there an example for installing a Chrome NativeHostClient through a installer for OS X?
The Packages can create a pkg installer which install files in current user's home directory. Here is the instruction described how to do it .
Once you decide to install native messaging host
in user directory, the path
in native messaging host's manifest file must be absolute and point to right location. A solution is created a post install script to produce the json file, or copy a template json file then modify it using sed
command.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.