add windows instructions

This commit is contained in:
jason 2025-12-13 21:51:29 +00:00
parent 4862e87c90
commit dc1438cb7c

View File

@ -7,6 +7,7 @@ Terminal User Interface for file browsing using ftxui
# Usage # Usage
``` ```
joomer-ftxui-file-browser [path]
- use arrow keys or mouse to navigate directories - use arrow keys or mouse to navigate directories
- alternatively you can press the numbers on your keyboard to select directories - alternatively you can press the numbers on your keyboard to select directories
``` ```
@ -22,6 +23,7 @@ Terminal User Interface for file browsing using ftxui
learndir/ learndir/
└── FTXUI/ └── FTXUI/
└── joomer-ftxui-file-browser/ └── joomer-ftxui-file-browser/
└── vcpkg/
``` ```
## Ubuntu Linux (kasm-ubuntu) ## Ubuntu Linux (kasm-ubuntu)
@ -41,5 +43,25 @@ make all
bin/Linux/release/joomer-ftxui-file-browser bin/Linux/release/joomer-ftxui-file-browser
``` ```
## Windows (win10 enterprise)
- Download Visual Studio Community Edition 2022
- Run VisualStudioSetup.exe
- Workload = [x] Desktop developemnt with C++
- Individial components = [x] Git For Windows
- cmake
Run **x64 Native Tools Command Prompt for VS 2022**
```
mkdir learndir
cd learndir
git clone https://github.com/microsoft/vcpkg
cd vcpkg
vcpkg install ftxui:x64-windows --triplet x64-windows
cd ..
git clone https://git.indoodle.com/jason/joomer-ftxui-file-browser.git
cd joomer-ftxui-file-browser
msbuild joomer-ftxui-file-browser.vcxproj /t:Rebuild /p:Configuration=Debug /p:Platform=x64
bin\Debug\joomer-ftxui-file-browser.exe
```