-
-
Notifications
You must be signed in to change notification settings - Fork 35
Install on Windows
For installing UBA on Windows via WSL2, read https://github.com/eliranwong/UniqueBible/wiki/Install-UBA-on-Windows-via-WSL2-Ubuntu
Basically, you simply need to download UBA and run it if you have Python and git in place.
Steps to set up for a fresh installation:
-
Install Python and git
-
Download UBA
-
Run UBA
UBA is a python-based application, so you need to have Python installed to run UBA.
Minimum Python version for running UBA: 3.7
There are several different ways to install Python, read more information at: https://www.python.org/downloads/
We found that it is pretty easy to install python and git ready with Chocolatey, so we will talk about chocolatey setup first.
Get chocolatey ready!
-
Right-click Windows Icon, located at left lower corner
-
Select and open "Windows PowerShell (Admin)"
-
Enter the following command (copied from https://chocolatey.org/install):
Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
Get python ready!
-
Right-click Windows Icon, located at left lower corner
-
Select and open "Windows PowerShell (Admin)"
-
Enter the following command:
choco install python
refreshenv
Get git ready! [optional]
There are different ways to download UBA, we use git in the following example.
To install git,
-
Right-click Windows Icon, located at left lower corner
-
Select and open "Windows PowerShell (Admin)"
-
Enter the following command:
choco install git
refreshenv
Don't want to use git? You can download a zip package of UBA and unzip it instead of using git:
https://github.com/eliranwong/UniqueBible/archive/main.zip
INSTRUCTIONS ABOVE: Use "Windows PowerShell (Admin)" instead of "Windows PowerShell"!!!
INSTRUCTIONS BELOW: Use "Windows PowerShell" instead of "Windows PowerShell (Admin)"!!!
![](https://github.com/eliranwong/UniqueBible/raw/main/screenshots/windows_powerShell.png)
You simply need to download and run. Everything else will be set up for you automatically the first time you run UBA.
FOR THE REST BELOW: Use "Windows PowerShell" instead of "Windows PowerShell (Admin)"!!!
-
Right-click Windows Icon, located at left lower corner
-
Select and open "Windows PowerShell"
To download:
To run:
python .\UniqueBible\uba.py
A screenshot is provided here, so you may know what to expect during the first-time setup:
![](https://github.com/eliranwong/UniqueBible/raw/main/screenshots/windows_download_and_run.png)
UBA should look like this screenshot below the first time you run it:
![](https://github.com/eliranwong/UniqueBible/raw/main/screenshots/windows_1st_screen.png)
You can run UBA from Power Shell by entering either full or relative path of file "uba.py"
UniqueBible\uba.py
An application shortcut "UniqueBibleApp.bat" is generated for you automatically the first time you run UBA.
You can simply double-click it to run UBA.
![](https://github.com/eliranwong/UniqueBible/raw/main/screenshots/windows_send_to_desktop.png)
Alternatively,
-
Right click the file "UniqueBibleApp.bat" in the UniqueBible folder.
-
Select "Send to > Desktop (create shortcut)"
-
Rename the desktop shortcut "UniqueBibleApp.bat - Shortcut" to "UniqueBible.app"
-
Right-click the shortcut file and select "Properties" (see screenshot at the bottom)
-
Change Icon..., browse and select "UniqueBibleApp.ico" in folder "UniqueBible\htmlResources", i.e.:
%USERPROFILE%\Documents\UniqueBible\htmlResources\UniqueBibleApp.ico
Double-click the created shortcut file.
-
Right-click the shortcut file and select "Properties"
-
In "Target", add "RunNHide.vbs " before "UniqueBibleApp.bat".
[please note that there is a space character " " after "RunNHide.vbs"]
In our example (see screenshot below), we change:
from
C:\Users\elira\UniqueBible\UniqueBibleApp.bat
to
C:\Users\elira\UniqueBible\RunNHide.vbs UniqueBibleApp.bat
- Select "Apply" to make changes effective.
![](https://github.com/eliranwong/UniqueBible/raw/main/screenshots/windows_shortcut_property.png)
You may also install Unique Bible App webtop version on Windows, read:
https://github.com/eliranwong/UniqueBible/wiki/UniqueBibleApp-webtop-on-Windows