Few questions
dsm150 opened this issue · comments
Hello!
1.
Powershell is a dense forest for me))
Is it possible to add a telegram send function to the script?
like this:
Function Send-Telegram { Param([Parameter(Mandatory=$true)][String]$Message) $Telegramtoken = "Your_Telegram_Token" $Telegramchatid = "Your_Telegram_Chat_ID" [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 $Response = Invoke-RestMethod -Uri "https://api.telegram.org/bot$($Telegramtoken)/sendMessage?chat_id=$($Telegramchatid)&text=$($Message)"}
Is it possible to install an agent with the remote configuration option enabled?
Is there any news on the implementation of the address book?
-
Possibly but really out of scope for this.
-
If you install using the script then it generates powershell install scripts.
-
We aren't developing rustdesk, only developed an install script
-
With the addition of the functionality of sending a notification to Telegram, I figured it out, thank you.
-
Yes, I do the installation with a script that was generated during installation of server.
As I understand it, we need to add an argument to the-argumentlist "--silent-install"
line, but I can't find a list of available installation arguments. Maybe they are known to you? On the project's github, I also couldn't find a list of possible arguments ( -
I meant this project: https://github.com/boonkerz/rustdesk-addressbook
Maybe it happened that the author answered you about integration into your script. -
After installing the server, the script displays the login and password of the mini site in the terminal. I forgot to write them down. Tell me how can I see them again?
-
Good
-
Look through the powershell script it has the silent install built in.
-
No reply really until it's done I can't do very much unfortunately
-
Yes, I studied the script more carefully.
There is only one command in the script - silent installation.
I needed the remote configuration option to be immediately activated during installation. All you need to do is addallow-remote-config-modification = 'Y'
to the$RustDesk2_toml
section. Hence the question - is there a description of the file optionsrustdesk2.toml
? -
After installing the server, the script displays the login and password of the mini site in the terminal. I forgot to write them down. Tell me how can I see them again?
Please, answer
After installing the server, the script displays the login and password of the mini site in the terminal. I forgot to write them down. Tell me how can I see them again?
Sorry I missed that!
nano /etc/systemd/system/gohttpserver.service
the token will be at the end of the ExecStart
line