Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
No whitespaces allowed for PowerShell paths until now
  • Loading branch information
niklases committed Oct 31, 2024
1 parent 6b3fb4a commit 6c855a8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,19 +64,19 @@ A quick file setup and run test can be performed running files in [scripts/Setup
<a name="gui-installation"></a>
### GUI Installation

A rudimentary graphical user interface (GUI) can be installed using the gui_setup.bat and gui_setup.sh scripts for Windows and Linux, respectively (which download and run `./gui/qt_window.py`):
A rudimentary graphical user interface (GUI) can be installed using the gui_setup.bat and gui_setup.sh scripts for Windows and Linux, respectively (which download and run `./gui/qt_window.py`, run these commands in a directory without any whitespaces):

Windows (PowerShell)
```powershell
Invoke-WebRequest https://raw.githubusercontent.com/Protein-Engineering-Framework/PyPEF/refs/heads/main/gui_setup.bat -OutFile gui_setup.bat
Invoke-WebRequest https://raw.githubusercontent.com/Protein-Engineering-Framework/PyPEF/refs/heads/main/gui/qt_window.py -OutFile ( New-Item -Path ".\gui\qt_window.py" -Force )
Invoke-WebRequest https://raw.githubusercontent.com/Protein-Engineering-Framework/PyPEF/refs/heads/master/gui_setup.bat -OutFile gui_setup.bat
Invoke-WebRequest https://raw.githubusercontent.com/Protein-Engineering-Framework/PyPEF/refs/heads/master/gui/qt_window.py -OutFile ( New-Item -Path ".\gui\qt_window.py" -Force )
.\gui_setup.bat
```

Linux
```bash
wget https://raw.githubusercontent.com/Protein-Engineering-Framework/PyPEF/refs/heads/main/gui_setup.sh -O gui_setup.sh
mkdir -p ./gui/ && wget https://raw.githubusercontent.com/Protein-Engineering-Framework/PyPEF/refs/heads/main/gui/qt_window.py -O ./gui/qt_window.py
wget https://raw.githubusercontent.com/Protein-Engineering-Framework/PyPEF/refs/heads/master/gui_setup.sh -O gui_setup.sh
mkdir -p ./gui/ && wget https://raw.githubusercontent.com/Protein-Engineering-Framework/PyPEF/refs/heads/master/gui/qt_window.py -O ./gui/qt_window.py
chmod a+x ./gui_setup.sh && ./gui_setup.sh
```

Expand Down
2 changes: 1 addition & 1 deletion gui_setup.bat
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ if "%true%"=="0" (
echo Did not find any Python version. Python will be installed locally in the next step...
set /P AREYOUSURE="Y"
) else (
echo A suitable Python version was found, no local download and Python installtion should be necessary...
echo A suitable Python version was found, no local download and Python installation should be necessary...
set /P AREYOUSURE="Install and use local Python version (Y/[N]) (downloads Python installer and installs Python locally in the current working directory)? "
)

Expand Down

0 comments on commit 6c855a8

Please sign in to comment.