@@ -48,12 +48,19 @@ git clone https://github.com/vlang/sdl.git ~/.vmodules/sdl
4848cd ~ /.vmodules/sdl
4949git checkout 3.2.0
5050```
51- and for Windows:
51+ ... and for Windows in cmd.exe :
5252``` bash
5353git clone https://github.com/vlang/sdl.git %HOMEPATH%/.vmodules/sdl
5454cd %HOMEPATH%/.vmodules/sdl
5555git checkout 3.2.0
5656```
57+ ... and for Windows in PowerShell (PS):
58+ ``` bash
59+ git clone https://github.com/vlang/sdl.git " $HOME /.vmodules/sdl"
60+ cd " $HOME /.vmodules/sdl"
61+ git checkout 3.2.0
62+ ```
63+
5764Then follow the steps in the [ Windows] ( #windows ) section below.
5865
5966You can see what ` sdl ` releases are available in the [ GitHub repository] ( https://github.com/vlang/sdl/branches ) via branches.
@@ -147,12 +154,20 @@ brew install sdl3
147154```
148155
149156### Windows
150-
151157It is necessary to install the SDL3 development libraries for Windows.
152- To do this, change to the root directory of the sdl module, like
153- ` cd %HOMEPATH%\.vmodules\sdl `
154- and run
155- ` v run windows_install_dependencies.vsh ` .
158+
159+ To do this, run this in cmd.exe:
160+ ``` bash
161+ cd %HOMEPATH%\. vmodules\s dl
162+ v run windows_install_dependencies.vsh
163+ ```
164+
165+ In Powershell, instead of the above, run this:
166+ ``` bash
167+ cd " $HOME /.vmodules/sdl"
168+ v run windows_install_dependencies.vsh
169+ ```
170+
156171This will create a directory called "thirdparty" which will be used to download and
157172extract the required libraries. To successfully run a provided example or your own projects,
158173the sdl dlls must be copied to the main application directory. e.g.:
0 commit comments