From 82c3b1a97132b02c978aabaaf4d14712d74c3ceb Mon Sep 17 00:00:00 2001 From: EndrII <EndrIIMail@gmail.com> Date: Mon, 9 Aug 2021 10:58:48 +0300 Subject: [PATCH] fix install docs --- md/en/Build-and-Install.md | 51 ++++++++++++++++++++++++++++++++------ md/ru/Build-and-Install.md | 45 +++++++++++++++++++++++++++------ 2 files changed, 82 insertions(+), 14 deletions(-) diff --git a/md/en/Build-and-Install.md b/md/en/Build-and-Install.md index 9995601..8efa35d 100644 --- a/md/en/Build-and-Install.md +++ b/md/en/Build-and-Install.md @@ -7,11 +7,11 @@ - cd CQtDeployer - git submodule update --init --recursive - qmake -r - - Here you must definitely call the qmake that was loaded from the 1st item. - - Example: ~/Qt/5.15.0/gcc_64/bin/qmake -r + - Here you must definitely call the qmake that was loaded from the 1st item. + - Example: ~/Qt/5.15.0/gcc_64/bin/qmake -r - make -j$(nproc) - make deploy - - this command requires installed [cqtdeployer](https://github.com/QuasarApp/CQtDeployer/releases) + - this command requires installed [cqtdeployer](https://github.com/QuasarApp/CQtDeployer/releases) - ./Distro/CQtDeployerInstaller.run ## Build for Windows (CMD) @@ -21,24 +21,60 @@ - cd CQtDeployer - git submodule update --init --recursive - SET PATH=C:/Qt/Tools/mingw810_64/bin;%PATH% - - It is important to set up the qt environment. + - It is important to set up the qt environment. - qmake.exe -r - - Here you must definitely call the qmake that was loaded from the 1st item. - - Example: C:/Qt/5.15.0/mingw81_64/bin/qmake.exe -r + - Here you must definitely call the qmake that was loaded from the 1st item. + - Example: C:/Qt/5.15.0/mingw81_64/bin/qmake.exe -r - migw32-make -j8 - migw32-make deploy - - this command requires installed [cqtdeployer](https://github.com/QuasarApp/CQtDeployer/releases) + - this command requires installed [cqtdeployer](https://github.com/QuasarApp/CQtDeployer/releases) - ./Distro/CQtDeployerInstaller.exe + --- # Installation without building You can download the latest version of the application [here](https://github.com/QuasarApp/CQtDeployer/releases). +### Installer + +- [Download](https://github.com/QuasarApp/CQtDeployer/releases) CQtDeployer_X.X.X.X_Installer_Linux64.run or CQtDeployer_X.X.X.X_Installer_Win64.exe + +#### Install without gui + +##### Linux + +``` bash +wget https://github.com/QuasarApp/CQtDeployer/releases/download/1.5.3/CQtDeployer_1.5.3.0_Installer_Linux64.run +chmod +x CQtDeployer_1.5.3.0_Installer_Linux64.run +./CQtDeployer_1.5.3.0_Installer_Linux64.run install +``` + +##### Windows + +``` bash +wget https://github.com/QuasarApp/CQtDeployer/releases/download/1.5.3/CQtDeployer_1.5.3.0_Installer_Win64.exe +CQtDeployer_1.5.3.0_Installer_Win64.exe install +``` + +### Deb + +``` bash +wget https://github.com/QuasarApp/CQtDeployer/releases/download/1.5.3/CQtDeployer_1.5.3.0_Linux64.deb +sudo dpkg -i CQtDeployer_1.5.3.0_Linux64.deb +``` + + +**Note** the package name and links can be changed, please check [Download](https://github.com/QuasarApp/CQtDeployer/releases) page before installation. + ### Snap [](https://snapcraft.io/cqtdeployer) +``` bash +sudo snap install cqtdeployer +``` + #### Features of the snap version If you are using the snap version of the application. Enable all permissions for cqtdeployer. @@ -46,6 +82,7 @@ this can be done in the snap-store Or starting with ubuntu 20.04 in the ubuntu application settings manager. If you do not have the GUI then you can enable all permissions using next commands: + ``` bash sudo snap connect cqtdeployer:process-control sudo snap connect cqtdeployer:removable-media diff --git a/md/ru/Build-and-Install.md b/md/ru/Build-and-Install.md index 97b32ff..85be235 100644 --- a/md/ru/Build-and-Install.md +++ b/md/ru/Build-and-Install.md @@ -7,11 +7,11 @@ - cd CQtDeployer - git submodule update --init --recursive - qmake -r - - Здесь нужно обязательно вызвать тот qmake, который был загружен из 1го пункта. - - Пример: ~/Qt/5.15.0/gcc_64/bin/qmake -r + - Здесь нужно обязательно вызвать тот qmake, который был загружен из 1го пункта. + - Пример: ~/Qt/5.15.0/gcc_64/bin/qmake -r - make -j$(nproc) - make deploy - - эта команда требует установленный [cqtdeployer](https://github.com/QuasarApp/CQtDeployer/releases) + - эта команда требует установленный [cqtdeployer](https://github.com/QuasarApp/CQtDeployer/releases) ## Build для Windows (CMD) @@ -33,10 +33,43 @@ # Установка без сборки -## Snap +Вы можете загрузить последнее подготовленные сборки [здесь](https://github.com/QuasarApp/CQtDeployer/releases). + +### Установщик + +- [Загрузить](https://github.com/QuasarApp/CQtDeployer/releases) CQtDeployer_X.X.X.X_Installer_Linux64.run или CQtDeployer_X.X.X.X_Installer_Win64.exe + +#### Установка в консоли (CMD) без GUI + +##### Linux + +``` bash +wget https://github.com/QuasarApp/CQtDeployer/releases/download/1.5.3/CQtDeployer_1.5.3.0_Installer_Linux64.run +chmod +x CQtDeployer_1.5.3.0_Installer_Linux64.run +./CQtDeployer_1.5.3.0_Installer_Linux64.run install +``` + +##### Windows + +``` bash +wget https://github.com/QuasarApp/CQtDeployer/releases/download/1.5.3/CQtDeployer_1.5.3.0_Installer_Win64.exe +CQtDeployer_1.5.3.0_Installer_Win64.exe install +``` + +### Deb + +``` bash +wget https://github.com/QuasarApp/CQtDeployer/releases/download/1.5.3/CQtDeployer_1.5.3.0_Linux64.deb +sudo dpkg -i CQtDeployer_1.5.3.0_Linux64.deb +``` + +**Примечание** имя пакета и ссылки могут быть изменены, пожалуйста, проверьте страницу [Загрузки](https://github.com/QuasarApp/CQtDeployer/releases) перед установкой. + +### Snap [](https://snapcraft.io/cqtdeployer) + #### Особенности snap версии Если вы используете snap версию приложения. Включите все разрешения для cqtdeployer. @@ -44,12 +77,10 @@ Или начиная с ubuntu 20.04 в менеджере настроек приложений ubuntu. Если у вас нет графического интерфейса, вы можете включить все разрешения, используя следующие команды: + ``` bash sudo snap connect cqtdeployer:process-control sudo snap connect cqtdeployer:removable-media sudo snap connect cqtdeployer:system-backup ``` -## Установщик - -Вы можете загрузить последнюю версию приложения [здесь](https://github.com/QuasarApp/CQtDeployer/releases).