From ca35ccbf2c862d8ba93a2ee1d4a8130f8b1233a5 Mon Sep 17 00:00:00 2001 From: cyBerta Date: Fri, 13 May 2022 17:07:50 +0200 Subject: some changes in Troubleshooting.md after review --- docs/Troubleshooting.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'docs') diff --git a/docs/Troubleshooting.md b/docs/Troubleshooting.md index 7def4c0d..5c4b42f1 100644 --- a/docs/Troubleshooting.md +++ b/docs/Troubleshooting.md @@ -26,19 +26,19 @@ As [documented here](https://stackoverflow.com/questions/42554337/cannot-launch- **Fixes:** -You have a couple options. The second is more robust: +You have a couple options. The fist is more robust: -1. Always run emulator from within its own directory (clunky!): +1. Insert a line in your `~/.bashrc` to automatically navigate to the correct directory (and back) whenever you invoke `emulator`: -``` shell - cd "$(dirname "$(which emulator)")" - emulator + ```shell +function emulator { pushd `pwd`; cd "$(dirname "$(which emulator)")" && ./emulator "$@"; popd;} ``` -2. Insert a line in your `~/.bashrc` to automatically navigate to the correct directory (and back) whenever you invoke `emulator`: +2. Always run emulator from within its own directory (clunky!): - ```shell -function emulator { pushd `pwd`; cd "$(dirname "$(which emulator)")" && ./emulator "$@"; popd;} +``` shell + cd "$(dirname "$(which emulator)")" + emulator ``` #### 3. Outdated GL Libraries @@ -91,7 +91,7 @@ This means never using the desktop launcher. :( ## Updating Submodules -If you need to refresh of our upstream dependency on ics-openvpn, you may do so with: +If you need to refresh our upstream dependency on ics-openvpn, you may do so with: ``` shell cd -- cgit v1.2.3