Skip to content

Commit 920061c

Browse files
committed
Fix the home variable, some WSL Instructions and add xattr for macOS
1 parent ee3808b commit 920061c

File tree

4 files changed

+11
-10
lines changed

4 files changed

+11
-10
lines changed

installation/fedora.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Installing the PSPDEV toolchain itself can be done with the following steps:
2929
```
3030
4. Add the following lines at the bottom of the file in the text editor:
3131
```shell
32-
export PSPDEV="~/pspdev"
32+
export PSPDEV="$HOME/pspdev"
3333
export PATH="$PATH:$PSPDEV/bin"
3434
```
3535
5. Now save and exit by pressing `Ctrl`+`X`, then `Y` and then enter/return.

installation/macos.md

+5-4
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,13 @@ Installing the PSPDEV toolchain itself can be done with the following steps:
3333
```
3434
4. Add the following lines at the bottom of the file in the text editor:
3535
```shell
36-
export PSPDEV="~/pspdev"
36+
export PSPDEV="$HOME/pspdev"
3737
export PATH="$PATH:$PSPDEV/bin"
3838
```
39-
5. Now save and exit by pressing `Ctrl`+`X`, then `Y` and then enter/return.
40-
6. Close the current terminal and open a new one.
41-
7. From the new terminal, run the following command to confirm everything is set up correctly:
39+
5. type `xattr -rd com.apple.quarantine $HOME/pspdev` to remove gatekeeper quarantine.
40+
6. Now save and exit by pressing `Ctrl`+`X`, then `Y` and then enter/return.
41+
7. Close the current terminal and open a new one.
42+
8. From the new terminal, run the following command to confirm everything is set up correctly:
4243
```shell
4344
psp-config --pspdev-path
4445
```

installation/ubuntu.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Installing the PSPDEV toolchain itself can be done with the following steps:
3333
```
3434
4. Add the following lines at the bottom of the file in the text editor:
3535
```shell
36-
export PSPDEV="~/pspdev"
36+
export PSPDEV="$HOME/pspdev"
3737
export PATH="$PATH:$PSPDEV/bin"
3838
```
3939
5. Now save and exit by pressing `Ctrl`+`X`, then `Y` and then enter/return.

installation/windows.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -32,23 +32,23 @@ sudo apt-get update
3232
```
3333

3434
```shell
35-
sudo apt-get install build-essential cmake pkgconf libreadline8 libusb-0.1 libgpgme11 libarchive-tools fakeroot
35+
sudo apt-get install build-essential cmake pkgconf libreadline8 libusb-0.1 libgpgme11 libarchive-tools fakeroot curl
3636
```
3737

3838
## Toolchain
3939
{: .fs-6 .fw-700 }
4040

4141
Installing the PSPDEV toolchain itself can be done with the following steps:
4242

43-
1. Download [the latest version of the toolchain here](https://github.com/pspdev/pspdev/releases/latest/download/pspdev-ubuntu-latest-x86_64.tar.gz).
44-
2. Extract the downloaded archive into your `\\wsl$\home\YOURUSERNAME\`, resulting in `\\wsl$\home\YOURUSERNAME\pspdev` being created. Replace `YOURUSERNAME` with the existing one. This can be done using
43+
1. In a fresh WSL Session download the Toolchain Archive using curl `curl -O https://github.com/pspdev/pspdev/releases/latest/download/pspdev-ubuntu-latest-x86_64.tar.gz`
44+
2. Extract the archive using `tar -xvf pspdev-ubuntu-latest-x86_64.tar.gz`
4545
3. To make the toolchain usable, some environment variables need to be set. The first step in doing so it to open the `~/.bashrc` file with the `nano` text editor using the following command from an Ubuntu terminal:
4646
```shell
4747
nano ~/.bashrc
4848
```
4949
4. Add the following lines at the bottom of the file in the text editor:
5050
```shell
51-
export PSPDEV="~/pspdev"
51+
export PSPDEV="$HOME/pspdev"
5252
export PATH="$PATH:$PSPDEV/bin"
5353
```
5454
5. Now save and exit by pressing `Ctrl`+`X`, then `Y` and then enter/return.

0 commit comments

Comments
 (0)