nwjs-builder-phoenix icon indicating copy to clipboard operation
nwjs-builder-phoenix copied to clipboard

Copied files on Linux don't preserve permissions

Open sparkyb opened this issue 7 years ago • 2 comments

I have some shell scripts I want to distribute along with my app (I run the NW.js app through a shell script to pass certain command-line flags that it is too late to do inside the app). When I build the app with nwjs-builder-phoenix, the shell scripts no longer have the executable flag when copied into the dist directory. File permissions should be preserved.

sparkyb avatar Sep 19 '17 14:09 sparkyb

Will look into it.

evshiron avatar Sep 19 '17 17:09 evshiron

@evshiron Issue happens on macOS as well.

I have a secondary app (built with Swift using Xcode) and I package it inside my nw.js app. The secondary app will not launch (after using nwjs-builder-phoenix) because permissions are not preserved. After using nwjs-builder-phoenix I have to run the command: chmod +x SecondaryApp.app/Contents/MacOS/* and everything will be fine.

maltheism avatar Dec 04 '17 18:12 maltheism