Skip to content

leelsey/winwb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WinWB

Windows Write Blocker

External Storage Write Blocker for Windows OS

1. Tested environments

  1. OS: Windows 7 and later
  2. Python: 3.8.0 and later

2. Setup development environment

  1. Setup python's virtual enviroment.
python -m venv venv
  1. Activate venv.
.\venv\Scripts\Activate.ps1

If not did setup PowerSehll execution policy, try this berfore activate venv.

Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope Process -Force
  1. Install requirements.
pip install -r requirements.txt

3. Interpreter run

WinWB

  1. Open Windows Terminal (PowerShell or CMD) with run as administrator.
  2. Run script.
python .\winwb.py

Build .exe file

WinWB

  1. Build through pyinstaller.
pyinstaller --uac-admin --onefile --icon=.\images\logo.ico --name=WinWB winwb.py
  1. It's created in the dist directory.

WinWB-GUI

  1. Build through pyinstaller.
pyinstaller --uac-admin --onefile --windowed --icon=.\images\logo.ico --add-data="images;images" --name=WinWB-GUI winwb-gui.py
  1. It's created in the dist directory.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages