doc: change binaries output target from release to artifacts

This commit is contained in:
saturneric 2024-01-08 15:46:14 +08:00
parent fd1f245ebb
commit fa10ad626b

View File

@ -146,7 +146,7 @@ $ ninja
After compiling, a release directory will be generated, which contains executable files that can be run directly.
```shell
$ ./release/GpgFrontend.exe
$ ./artifacts/GpgFrontend.exe
```
### For macOS
@ -167,7 +167,7 @@ $ cd GpgFrontend
$ mkdir build && cd build
$ cmake -G Ninja -DCMAKE_BUILD_TYPE="Debug" -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl@1.1 ..
$ ninja
$ ./release/GpgFrontend # run the program
$ ./artifacts/GpgFrontend # run the program
```
Build the code and make the App Bundle.
@ -177,7 +177,7 @@ $ cd GpgFrontend
$ mkdir build && cd build
$ cmake -G Ninja -DCMAKE_BUILD_TYPE="Release" -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl@1.1 ..
$ ninja
$ macdeployqt ./release/GpgFrontend.app
$ macdeployqt ./artifacts/GpgFrontend.app
```
### For Ubuntu 18.04 And Later
@ -233,7 +233,7 @@ $ cd GpgFrontend
$ mkdir build && cd build
$ cmake -G Ninja -DCMAKE_BUILD_TYPE="Debug" ..
$ ninja
$ ./release/GpgFrontend # run the program
$ ./artifacts/GpgFrontend # run the program
```
Package the AppImage(Should use ubuntu 18.04).
@ -247,7 +247,7 @@ $ mkdir ./AppImageOut
$ cd ./AppImageOut
$ wget -c -nv https://github.com/probonopd/linuxdeployqt/releases/download/continuous/linuxdeployqt-continuous-x86_64.AppImage
$ chmod u+x linuxdeployqt-continuous-x86_64.AppImage
$ ./linuxdeployqt-continuous-x86_64.AppImage ../release/gpgfrontend/usr/share/applications/*.desktop -appimage
$ ./linuxdeployqt-continuous-x86_64.AppImage ../artifacts/gpgfrontend/usr/share/applications/*.desktop -appimage
```
## Language Support