techahold / rustdeskinstall

Easy install Script for Rustdesk

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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?

  1. Possibly but really out of scope for this.

  2. If you install using the script then it generates powershell install scripts.

  3. We aren't developing rustdesk, only developed an install script

  1. With the addition of the functionality of sending a notification to Telegram, I figured it out, thank you.

  2. 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 (

  3. I meant this project: https://github.com/boonkerz/rustdesk-addressbook
    Maybe it happened that the author answered you about integration into your script.

  4. 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?

  1. Good

  2. Look through the powershell script it has the silent install built in.

  3. No reply really until it's done I can't do very much unfortunately

  1. 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 add allow-remote-config-modification = 'Y' to the $RustDesk2_toml section. Hence the question - is there a description of the file options rustdesk2.toml?

  2. 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?

There is my TG notification ))
img-2022-09-23-13-47-06

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