From 74a83beb3ddee18a917feb3dcaf5b249c01d025b Mon Sep 17 00:00:00 2001 From: botanicvelious Date: Wed, 18 Jan 2023 16:22:39 -0700 Subject: [PATCH 1/4] add notice about powershell --- content/dev/build/windows/_index.en.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/content/dev/build/windows/_index.en.md b/content/dev/build/windows/_index.en.md index 22f4dd0..b500bb5 100644 --- a/content/dev/build/windows/_index.en.md +++ b/content/dev/build/windows/_index.en.md @@ -3,6 +3,10 @@ title: Windows weight: 20 --- +{{% notice note %}} +The command line commands here must be run in powershell not command prompt or you will get syntax errors. +{{% /notice %}} + ## Dependencies ### C++ build environment From 56a5c03821f9b29219185228adfef46f98394fe9 Mon Sep 17 00:00:00 2001 From: botanicvelious Date: Wed, 18 Jan 2023 16:25:42 -0700 Subject: [PATCH 2/4] add wget command --- content/dev/build/windows/_index.en.md | 1 + 1 file changed, 1 insertion(+) diff --git a/content/dev/build/windows/_index.en.md b/content/dev/build/windows/_index.en.md index b500bb5..85d0c03 100644 --- a/content/dev/build/windows/_index.en.md +++ b/content/dev/build/windows/_index.en.md @@ -55,6 +55,7 @@ You can download 15.02 of the LLVM binaries here: [64-bit](https://github.com/ll git clone https://github.com/rustdesk/rustdesk cd rustdesk mkdir -p target/debug +wget https://raw.githubusercontent.com/c-smile/sciter-sdk/master/bin.win/x64/sciter.dll mv sciter.dll target/debug cargo run ``` From facbceb5ba000e95e97c032bd79d82acfc431ed0 Mon Sep 17 00:00:00 2001 From: botanicvelious Date: Wed, 18 Jan 2023 16:33:55 -0700 Subject: [PATCH 3/4] actually Invoke-WebRequest is better --- content/dev/build/windows/_index.en.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/dev/build/windows/_index.en.md b/content/dev/build/windows/_index.en.md index 85d0c03..fea1797 100644 --- a/content/dev/build/windows/_index.en.md +++ b/content/dev/build/windows/_index.en.md @@ -55,7 +55,7 @@ You can download 15.02 of the LLVM binaries here: [64-bit](https://github.com/ll git clone https://github.com/rustdesk/rustdesk cd rustdesk mkdir -p target/debug -wget https://raw.githubusercontent.com/c-smile/sciter-sdk/master/bin.win/x64/sciter.dll +Invoke-WebRequest -URI https://raw.githubusercontent.com/c-smile/sciter-sdk/master/bin.win/x64/sciter.dll -OutFile ./sciter.dll mv sciter.dll target/debug cargo run ``` From fca953c4fccfe3c1b0bc8d6e68442583a34fde12 Mon Sep 17 00:00:00 2001 From: botanicvelious Date: Wed, 18 Jan 2023 20:35:37 -0700 Subject: [PATCH 4/4] replace powershell with git-bash --- content/dev/build/windows/_index.en.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/dev/build/windows/_index.en.md b/content/dev/build/windows/_index.en.md index fea1797..128a0e1 100644 --- a/content/dev/build/windows/_index.en.md +++ b/content/dev/build/windows/_index.en.md @@ -4,7 +4,7 @@ weight: 20 --- {{% notice note %}} -The command line commands here must be run in powershell not command prompt or you will get syntax errors. +The command line commands here must be run in git-bash not command prompt or you will get syntax errors. {{% /notice %}} ## Dependencies