Re: How to access resources in flat distribution package
If you need to access something inside the Resources folder of a flat package from the pre- or post-installation of this package, they are at the same level as your script when it's running (because the resources are extracted during installation). So ./your_file is the path you can use. On Thu, Jun 21, 2012 at 2:50 AM, Kevin Molcard <kevin.molcard@arturia.com> wrote:
Hi all, I am trying to convert my package to flat distribution to be able to sign it using productsign. I am using Packages to build my package. I have some resources that I have to access in my postflight script. In bundle format I used this:
ROOT_PATH=`sudo dirname "$1"` RESOURCES_PATH="$ROOT_PATH/../Resources/"
This seems to not work with flat packages. Does anyone know how to access these resources?
Thanks in advance. Kevin
-- Kevin Molcard Sofware Engineer
ARTURIA 4 chemin de Malacher 38240 Meylan - France Tel: +33 438 020 555 Fax: +33 438 020 525
_______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/installer-dev/dev.iceberg%40gmail.co...
This email sent to dev.iceberg@gmail.com
_______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/installer-dev/site_archiver%40lists.... This email sent to site_archiver@lists.apple.com
participants (1)
-
Stephane Sudre