Update README.md
This commit is contained in:
16
README.md
16
README.md
@@ -1,7 +1,7 @@
|
|||||||
# Abstract
|
# Abstract
|
||||||
A convenient tool which can convert AppImage to Deb in [Deepin Standard](https://doc.chinauos.com/content/M7kCi3QB_uwzIp6HyF5J).
|
A convenient tool which can convert AppImage to Deb in [Deepin Standard](https://doc.chinauos.com/content/M7kCi3QB_uwzIp6HyF5J).
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
You should input the arguments in Deepin Standard.
|
You should input the arguments in Deepin Standard.
|
||||||
|
|
||||||
@@ -12,11 +12,17 @@ You can find AppImages to convert [here](https://appimage.github.io/apps/).
|
|||||||
The program will not extract AppImages to make debs, it will use an original single AppImage file to make a deb.
|
The program will not extract AppImages to make debs, it will use an original single AppImage file to make a deb.
|
||||||
|
|
||||||
# Dependencies
|
# Dependencies
|
||||||
To run `main.py` successfully you should install `PyQt5`.
|
To run `main.py` successfully you should install `PyQt5`, you can use `conda` or `venv` to create a virtual environment to install `pyqt5`.
|
||||||
The `build.sh` will be called by a function in `main.py`, to run `build.sh` properly, you should have a `bash` environment with `fakeroot` installed.
|
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
sudo apt install python3-pyqt5
|
conda install pyqt5
|
||||||
|
pip3 install pyqt5
|
||||||
|
```
|
||||||
|
|
||||||
|
The `build.sh` will be called by a function in `main.py`, to run `build.sh` properly, you should have a `bash` environment with `fakeroot` and `imagemagick` installed.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
sudo apt install imagemagick
|
||||||
sudo apt install fakeroot
|
sudo apt install fakeroot
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -24,8 +30,10 @@ It only supports amd64 architecture.
|
|||||||
|
|
||||||
# Usage
|
# Usage
|
||||||
After download my script, you can just input the command below into your terminal:
|
After download my script, you can just input the command below into your terminal:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
cd /the/path/to/src/
|
cd /the/path/to/src/
|
||||||
python3 main.py
|
python3 main.py
|
||||||
```
|
```
|
||||||
|
|
||||||
The deb file will be put in `/the/path/to/src`.
|
The deb file will be put in `/the/path/to/src`.
|
||||||
|
|||||||
Reference in New Issue
Block a user