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

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

Notifications You must be signed in to change notification settings

amxmln/electron-copy-file-bug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published