diff --git a/.gitignore b/.gitignore index bae723592..13766594c 100644 --- a/.gitignore +++ b/.gitignore @@ -3,4 +3,5 @@ out package-lock.json node_modules .DS_Store +.vscode diff --git a/README.md b/README.md index b5b18aac5..d8c990602 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,10 @@ Ganache is your personal blockchain for Ethereum development.

+### Getting started + +You can download a self-contained prebuilt Ganache binary for your platform of choice using the "Download" button on the [Ganache](http://truffleframework.com/ganache/) website, or from this repository's [releases](https://github.com/trufflesuite/ganache/releases) page. + ### Contributing Please open issues and pull requests for new features, questions, and bug fixes. diff --git a/package.json b/package.json index e09857e16..8db85e0ee 100644 --- a/package.json +++ b/package.json @@ -145,9 +145,9 @@ "electron-forge-maker-appimage": "^19.30.3", "electron-settings": "^3.1.2", "electron-squirrel-startup": "^1.0.0", - "ethereumjs-testrpc": "^6.0.3", "ethereumjs-units": "^0.2.0", "find-process": "^1.1.0", + "ganache-cli": "^6.0.3", "lodash": "^3.10.1", "moment": "^2.17.1", "moment-timezone": "^0.5.11", diff --git a/src/Components/AppShell/AppShell.js b/src/Components/AppShell/AppShell.js index 20c00918d..538e0ac7a 100644 --- a/src/Components/AppShell/AppShell.js +++ b/src/Components/AppShell/AppShell.js @@ -8,10 +8,7 @@ import * as AppShellActions from '../../Actions/AppShell' import TopNavbar from './TopNavbar' import OnlyIf from '../../Elements/OnlyIf' -import Modal from '../../Elements/Modal' - -import BugIcon from '../../Elements/icons/errorant.svg' - +import BugModal from './BugModal' import ua from 'universal-analytics' import ElectronCookies from '@exponent/electron-cookies' @@ -110,25 +107,6 @@ class AppShell extends Component { render () { const path = this.props.location.pathname - const segment = path.replace(/^\//g, '').replace(/\//g, '-') || 'root' - let systemError = this.props.core.systemError - - if (systemError) { - systemError = systemError.stack || systemError - - // Remove any user-specific paths in exception messages - // Prepare our paths so we *always* will get a match no matter - // path separator (oddly, on Windows, different errors will give - // us different path separators) - var appPath = app.getAppPath().replace(/\\/g, "/") - systemError = systemError.replace(/\\/g, "/") - - // I couldn't figure out the regex, so a loop will do. - while (systemError.indexOf(appPath) >= 0) { - systemError = systemError.replace(appPath, "") - } - } - return (
@@ -136,55 +114,12 @@ class AppShell extends Component {
{this.props.children}
- - - -
- -

Uh Oh... That's a bug.

-

- Ganache encountered an error. Help us fix it by raising a GitHub issue!

Mention the following error information when writing your ticket, and please include as much information as possible. Sorry about that! -

-