mirror of
https://github.com/jasons-gh/the-chomsky-index.git
synced 2026-03-11 08:54:36 +00:00
Update Linux instructions
This commit is contained in:
parent
99b5d7ff5f
commit
ce7a0622b9
1 changed files with 21 additions and 1 deletions
22
README.md
22
README.md
|
|
@ -18,10 +18,30 @@ Before using pyinstaller run
|
|||
|
||||
pyinstaller --icon=icon_black.ico --add-data cnt/*.cnt;cnt --add-data icon_white.png;png -w --onefile display.py
|
||||
|
||||
### Mac/Linux
|
||||
### Mac
|
||||
|
||||
pyinstaller --icon=icon_black.icns --add-data cnt/*.cnt:cnt --add-data icon_white.png:png -w --onefile display.py
|
||||
|
||||
### Linux
|
||||
|
||||
Do not use anaconda or miniconda. After cloning the repo, cd into it and install the requirements with
|
||||
|
||||
pip3 install -r requirements.txt
|
||||
|
||||
Make pyinstaller and PyQt5 available with
|
||||
|
||||
export PATH=$PATH:/home/yourname/.local/bin
|
||||
|
||||
Fix a problem with the PyQt5 display with
|
||||
|
||||
sudo apt-get install libxcb-xinerama0
|
||||
|
||||
Create the program in a folder called *dist* with
|
||||
|
||||
pyinstaller --add-data cnt/*.cnt:cnt --add-data icon_white.png:png -w --onefile display.py
|
||||
|
||||
In the executable properties, change the icon to icon_black.ico from the repo.
|
||||
|
||||
## Usage
|
||||
|
||||
### Normal search
|
||||
|
|
|
|||
Loading…
Reference in a new issue