mirror of
https://github.com/cmclark00/retro-imager.git
synced 2025-05-18 07:55:21 +01:00
Add syntax highlighting to readme.
This commit is contained in:
parent
2b5c34f46c
commit
07852b509c
1 changed files with 7 additions and 7 deletions
14
README.md
14
README.md
|
@ -19,7 +19,7 @@ Please see our [official documentation](https://www.raspberrypi.com/documentatio
|
||||||
|
|
||||||
- Install the build dependencies (Debian used as an example):
|
- Install the build dependencies (Debian used as an example):
|
||||||
|
|
||||||
```
|
```sh
|
||||||
sudo apt install --no-install-recommends build-essential cmake git libgnutls28-dev
|
sudo apt install --no-install-recommends build-essential cmake git libgnutls28-dev
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -28,7 +28,7 @@ sudo apt install --no-install-recommends build-essential cmake git libgnutls28-d
|
||||||
|
|
||||||
#### Get the source
|
#### Get the source
|
||||||
|
|
||||||
```
|
```sh
|
||||||
git clone --depth 1 https://github.com/raspberrypi/rpi-imager
|
git clone --depth 1 https://github.com/raspberrypi/rpi-imager
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -39,7 +39,7 @@ Modify appimagecraft.yml:
|
||||||
- First, you _must_ set Qt6_ROOT (as a extra_variables item under build/cmake) to the root of your Qt6 installation
|
- First, you _must_ set Qt6_ROOT (as a extra_variables item under build/cmake) to the root of your Qt6 installation
|
||||||
- Second, you _must_ set QMAKE (as a raw_environment variable of the linuxdeploy plugin) to the full path of qmake inside that Qt6 installation.
|
- Second, you _must_ set QMAKE (as a raw_environment variable of the linuxdeploy plugin) to the full path of qmake inside that Qt6 installation.
|
||||||
|
|
||||||
```
|
```sh
|
||||||
cd rpi-imager
|
cd rpi-imager
|
||||||
export LD_LIBRARY_PATH=${your_Qt6_install_path}/lib
|
export LD_LIBRARY_PATH=${your_Qt6_install_path}/lib
|
||||||
./${your_platform_appimagecraft_AppImage_name}
|
./${your_platform_appimagecraft_AppImage_name}
|
||||||
|
@ -47,7 +47,7 @@ export LD_LIBRARY_PATH=${your_Qt6_install_path}/lib
|
||||||
|
|
||||||
Now mark the AppImage as executable, and run it:
|
Now mark the AppImage as executable, and run it:
|
||||||
|
|
||||||
```
|
```sh
|
||||||
chmod +x ./Raspberry_Pi_Imager-*.AppImage
|
chmod +x ./Raspberry_Pi_Imager-*.AppImage
|
||||||
./Raspberry_Pi_Imager-*.AppImage
|
./Raspberry_Pi_Imager-*.AppImage
|
||||||
```
|
```
|
||||||
|
@ -102,7 +102,7 @@ To build:
|
||||||
- You must be running a Linux system, and have the buildroot dependencies installed as listed in the buildroot manual: https://buildroot.org/downloads/manual/manual.html#requirement
|
- You must be running a Linux system, and have the buildroot dependencies installed as listed in the buildroot manual: https://buildroot.org/downloads/manual/manual.html#requirement
|
||||||
- Run:
|
- Run:
|
||||||
|
|
||||||
```
|
```sh
|
||||||
cd rpi-imager/embedded
|
cd rpi-imager/embedded
|
||||||
./build.sh
|
./build.sh
|
||||||
```
|
```
|
||||||
|
@ -128,7 +128,7 @@ The last 1,500 requests to the service are logged for one week before expiring a
|
||||||
|
|
||||||
On Windows, you can opt out of telemetry by disabling it in the Registry:
|
On Windows, you can opt out of telemetry by disabling it in the Registry:
|
||||||
|
|
||||||
```
|
```pwsh
|
||||||
reg add "HKCU\Software\Raspberry Pi\Imager" /v telemetry /t REG_DWORD /d 0
|
reg add "HKCU\Software\Raspberry Pi\Imager" /v telemetry /t REG_DWORD /d 0
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -141,7 +141,7 @@ telemetry=false
|
||||||
|
|
||||||
On macOS, disable it by editing the property list for the application:
|
On macOS, disable it by editing the property list for the application:
|
||||||
|
|
||||||
```
|
```sh
|
||||||
defaults write org.raspberrypi.Imager.plist telemetry -bool NO
|
defaults write org.raspberrypi.Imager.plist telemetry -bool NO
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue