Skip to content
This repository has been archived by the owner on Jun 10, 2019. It is now read-only.

Latest commit

 

History

History
16 lines (12 loc) · 498 Bytes

README.md

File metadata and controls

16 lines (12 loc) · 498 Bytes

electron-copy-file-bug

A minimal example illustrating a bug with fs.copyFile in Electron v2.0.8

Reproduction steps:

  1. Run:
npm install
npm run build
./dest/linux-unpacked/copy-test
  1. Click the button to copy the test file to the displayed target location
  2. Check the error in the console and the fact that the source file exists in the printed fs.readdir statement
  3. Verify that the issue does not happen when running an unpackaged app by running npm start and repeating step 2