You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// const fs = require("original-fs"); // same error thrown
await fs.promises.rm("path contains asar file",{force: true, recursive: true})
// throw a error ENOTEMPTY: directory not empty, rmdir '...' test.zip
extract test.zip to a dir
cd the dir
electron .
input a dir contains any asar file
click rm button
The text was updated successfully, but these errors were encountered:
Thanks for the issue report! This is probably an issue on Electron's side, and it's not related to the @electron/asar package. I've opened a new issue in Electron (electron/electron#41008) using the test case you've provided so we can investigate it further, you can follow that issue for any new developments.
electron version 28.1.3
v27.2.2 is OK
// const fs = require("original-fs"); // same error thrown
await fs.promises.rm("path contains asar file",{force: true, recursive: true})
// throw a error ENOTEMPTY: directory not empty, rmdir '...'
test.zip
extract test.zip to a dir
cd the dir
electron .
input a dir contains any asar file
click rm button
The text was updated successfully, but these errors were encountered: