runegan / jsxbin

Convert jsx ExtendScript files into jsxbin files using ExtendScript Toolkit
MIT License
87 stars 21 forks source link

fix: package the esdebugger-core files using a tar archive to preserve symlinks. #16

Closed sammarks closed 4 years ago

sammarks commented 4 years ago

Here's the fix from our conversation inside the Motion Design group. Since I can't publish the package, I'm not able to verify 100% that this will work, but based on my understanding it should be okay.

I know we're good with the postinstall script being run, as that's a standard npm feature. I was hesitant to use tar because I wasn't sure it was available on Windows. After running a quick test in Powershell of just running tar it looks like it is available inside the System32 folder, so looks like it does come with Windows.

And of course it's available with Mac.

If you want, you can create a prerelease publish and I can test it out on Windows and Mac by installing globally (that way it doesn't use my git checkout) and see if that works.

sammarks commented 4 years ago

This appears to have worked for me by installing the package via a Github URL instead of from the package registry, so should work once you publish.