packages icon indicating copy to clipboard operation
packages copied to clipboard

Definition of a "soft" home folder as a reference folder

Open francoisbecker opened this issue 8 years ago • 4 comments

Hi, I'd like to use assets located in ~/Library/[…] therefore I define the "Reference Folder" as "/Users/[myusername]" and the assets' path relative to the reference folder: "Library/[…]". However when changing the user (for example for another developer) the reference folder is hardcoded with my username, not the local user's home path.

Would it be possible to automatically detect the home path and replace it with "~", and/or at least replace "~" in the reference folder with the local user home directory when building the package?

francoisbecker avatar Mar 28 '17 18:03 francoisbecker

This may be possible. This is something that would be worth trying after the 1.2 version is released.

packagesdev avatar Mar 29 '17 23:03 packagesdev

FMI, when will approx. the 1.2 version be released?

francoisbecker avatar Mar 30 '17 07:03 francoisbecker

During Q2 as far as I can tell.

packagesdev avatar Apr 10 '17 10:04 packagesdev

Would the -F switch of the command line tool packagesbuild do this in the meantime? like e.g. -F ~?

francoisbecker avatar Apr 10 '17 10:04 francoisbecker