azu / electron-zip-packager

A wrapper of electron-packager. Package your electron app and zipped
MIT License
17 stars 3 forks source link

Symlinks missing for OSX packages #14

Open dannystaple opened 7 years ago

dannystaple commented 7 years ago

When packing for OSX, the symlinks are missing, leading to an app that will not load.

Take the Electron framework as an example.

The app contents of a electron-packager output will have:


Frameworks/Electron Framework.framework/Libraries -> versions/A/Libraries
Frameworks/Electron Framework.framework/Resources -> versions/A/Resources
Frameworks/Electron Framework.framework/Electron Framework -> versions/A/Electron Framwork
Frameworks/Electron Framework.framework/versions/Current -> A
Frameworks/Electron Framework.framework/versions/A/Electron Framework
Frameworks/Electron Framework.framework/versions/A/Libraries
Frameworks/Electron Framework.framework/versions/A/Resources

However, in the electron-zip-packager output, only the Frameworks/Electron Framework.framework/versions/A/ structure is there, although the app expects to find everything at the symlinks.

jessb321 commented 7 years ago

I will take a look at this today (hopefully!)