executable files not working on windows atleast
See original GitHub issuei build my execution files for all platforms but windows apps doesn’t open i checked task manager and it was show up for a second and terminated i didn’t test about other platforms yet
Which version of electron-packager are you using?
^7.0.2
What CLI arguments are you passing? Alternatively, if you are using the API, what parameters are you passing to the
packager()
function? electron-packager . myapp --platform=all --arch=allWhat version of Electron are you building with?
“electron-prebuilt”: “^1.1.3”
What is the host platform are you running electron-packager on?
win 10 64bits node 4.4.5
What target platform(s)/architecture(s) are you building for? all plats but windows is matter
Is there a stack trace in the error message you’re seeing?
everything is OK apparently
Packaging app for platform linux ia32 using electron v1.1.3
Packaging app for platform win32 ia32 using electron v1.1.3
Cannot create symlinks; skipping darwin platform
Packaging app for platform linux x64 using electron v1.1.3
Cannot create symlinks; skipping mas platform
Packaging app for platform win32 x64 using electron v1.1.3
Wrote new apps to:
E:\Projects\electron\dbtest\myapp-linux-ia32
E:\Projects\electron\dbtest\myapp-win32-ia32
E:\Projects\electron\dbtest\myapp-linux-x64
E:\Projects\electron\dbtest\myapp-win32-x64
Please provide either a failing testcase or detailed steps to reproduce your problem.
Issue Analytics
- State:
- Created 7 years ago
- Comments:18 (7 by maintainers)
Top GitHub Comments
electron-packager uses a blacklist to determine what files get copied. Basically so long as your file doesn’t match any of the regular expression patterns in the blacklist and it’s in the application directory, it should be copied into your application bundle.
solved that was my bad and i wasted your time i have a sql.txt file and i forgot it about when the app reached to this line
var sqlStr=fs.readFileSync("./sql.txt");
sql.txt wasn’t exist and stopped app i must place it on it is there something to pack other files in this lib?