diff --git a/config.js b/config.js index 158ccb3f..a5edb5c4 100644 --- a/config.js +++ b/config.js @@ -17,6 +17,8 @@ module.exports = { AUTO_UPDATE_URL: 'https://webtorrent.io/desktop/update?version=' + APP_VERSION, AUTO_UPDATE_CHECK_STARTUP_DELAY: 5 * 1000 /* 5 seconds */, + CRASH_REPORT_URL: 'https://webtorrent.io/desktop/crash-report', + CONFIG_PATH: applicationConfigPath(APP_NAME), CONFIG_POSTER_PATH: path.join(applicationConfigPath(APP_NAME), 'Posters'), CONFIG_TORRENT_PATH: path.join(applicationConfigPath(APP_NAME), 'Torrents'), diff --git a/main/index.js b/main/index.js index 977cfd7c..82374204 100644 --- a/main/index.js +++ b/main/index.js @@ -134,6 +134,6 @@ function setupCrashReporter () { crashReporter.start({ companyName: config.APP_NAME, productName: config.APP_NAME, - submitURL: 'https://webtorrent.io/desktop/crash-report' + submitURL: config.CRASH_REPORT_URL }) } diff --git a/renderer/index.js b/renderer/index.js index fae215e8..b22ee1d6 100644 --- a/renderer/index.js +++ b/renderer/index.js @@ -1067,6 +1067,6 @@ function setupCrashReporter () { crashReporter.start({ companyName: config.APP_NAME, productName: config.APP_NAME, - submitURL: 'https://webtorrent.io/desktop/crash-report' + submitURL: config.CRASH_REPORT_URL }) }