Answers for "electron check if file exists"

0

electron check if file exists

if (fs.existsSync(`~/.config/myApp/bookmarks.json`)) {
  console.log('exists')
} else {
  console.log('does not')
}
Posted by: Guest on November-17-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language