Merge pull request #273 from dinger1986/master

update get password script to run once and change some links
This commit is contained in:
RustDesk 2023-08-31 22:30:04 +08:00 committed by GitHub
commit 0fbac7d2d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 18 additions and 2 deletions

View File

@ -4,7 +4,7 @@ weight: 400
pre: "<b>2.4. </b>"
---
You can deploy using a number of methods, some are covered in [Client](/docs/en/client/#configuring-rustdesk)
You can deploy using a number of methods, some are covered in [Client Configuration](/docs/en/self-host/client-configuration/).
Alternatively you can use mass deployment scripts with your RMM, Intune etc., the ID and password is output by the script, you should collect this, or split this off into different scripts to collect the ID and password.

View File

@ -4,7 +4,7 @@ weight: 400
pre: "<b>2.4. </b>"
---
Aşağıdaki yöntemlerden birini kullanarak dağıtım yapabilirsiniz. Bazıları [Client](/docs/en/client/#configuring-rustdesk) bölümünde ele alınmıştır.
Aşağıdaki yöntemlerden birini kullanarak dağıtım yapabilirsiniz. Bazıları [Client](/docs/en/self-host/client-configuration/) bölümünde ele alınmıştır.
Alternatif olarak, RMM, intune vb. ile kütle dağıtım komut dosyaları da kullanabilirsiniz. Kimlik ve şifre komut dosyası tarafından üretilir, bunu toplamalısınız veya kimlik ve şifreyi toplamak için farklı komut dosyalarına bölmelisiniz.

View File

@ -4,4 +4,6 @@ weight: 400
pre: "<b>2.4.1 </b>"
---
RustDesk has successfully been integrated into a number of other projects, please see some below. If your project wants to integrate with RustDesk or you have already integrated RustDesk please let us know via support@rustdesk.com and we can add to our docs.
{{% children depth="3" showhidden="true" %}}

View File

@ -64,6 +64,16 @@ cd $env:ProgramFiles\RustDesk\
```
$ErrorActionPreference= 'silentlycontinue'
$confirmation_file = "C:\program files\RustDesk\runonce.txt"
if ([System.IO.File]::Exists($confirmation_file)) {
echo "Confirmation file exists"
exit 0
}
else
{
$ErrorActionPreference= 'silentlycontinue'
net stop rustdesk > null
$ProcessActive = Get-Process rustdesk -ErrorAction SilentlyContinue
if($ProcessActive -ne $null)
@ -76,6 +86,10 @@ Start-Process "$env:ProgramFiles\RustDesk\RustDesk.exe" "--password $rustdesk_pw
Write-Output $rustdesk_pw
net start rustdesk > null
New-Item $confirmation_file > null
}
```
## RustDesk URL Action