I have an Portable Electron App (packed with: electron-builder + asar, portable build) on Windows. I try to get the application path but it returns a path within the user\\t
process.env.PORTABLE_EXECUTABLE_FILE
will give you the full path to the file.