Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash reporter should use the specified temp folder #7399

Closed
feross opened this issue Sep 29, 2016 · 0 comments
Closed

Crash reporter should use the specified temp folder #7399

feross opened this issue Sep 29, 2016 · 0 comments
Assignees

Comments

@feross
Copy link
Contributor

feross commented Sep 29, 2016

  • Electron version: 1.4.1
  • Operating system: Windows

I set the Electron temp folder using:

app.setPath('temp', config.TEMP_PATH)

And later, I enable the crash reporter:

electron.crashReporter.start({
  companyName: config.APP_NAME,
  productName: config.APP_NAME,
  submitURL: config.CRASH_REPORT_URL
})

The crash reporter does not respect the temp folder setting. It creates the following file:

  • %APPDATA%\Local\Temp\WebTorrent Crashes\operation_log.txt

(where %APPDATA% is the user's AppData folder, e.g. C:\Users\UserName\AppData)

This bug makes it impossible to make a Windows Portable App that is also "silent" -- i.e. doesn't leave any traces on the user's hard drive when the app is run from a USB stick, for example.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants