removed unnecessary graphics and added initial support for checking lbry daemon_settings for Odysee server

pull/2/head
Yuriy 1 year ago
parent a7164c0902
commit 35439aabc3

Binary file not shown.

Before

Width:  |  Height:  |  Size: 355 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 341 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 185 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 213 KiB

@ -0,0 +1,7 @@
download_dir: c:\lbry\Downloads
lbryum_servers:
- spv11.lbry.com:50001
- spv19.lbry.com:50001
share_usage_data: false
tcp_port: 3335
use_upnp: false

@ -4937,6 +4937,37 @@ CheckLBRYProcess(){
SaveOrPostProgress(Message:=Message,PostType:="Tooltip,ErrorLoggingTextFile,ErrorSummaryVar,DiscordErrorLogging") SaveOrPostProgress(Message:=Message,PostType:="Tooltip,ErrorLoggingTextFile,ErrorSummaryVar,DiscordErrorLogging")
Return Return
} }
Message = Checking LBRY daemon_settings.yml file for Odysee Wallet Servers
SaveOrPostProgress(Message:=Message,PostType:=",ErrorLoggingTextFile,DiscordErrorLogging")
FileRead, daemon_settingsFileContent, C:\Users\%A_UserName%\AppData\Local\lbry\lbrynet\daemon_settings.yml
if(!InStr(daemon_settingsFileContent, "a-hub1.odysee.com:50001")){
Message = Odysee wallet server is not in daemon_settings.yml. Replacing File with required settings.
SaveOrPostProgress(Message:=Message,PostType:=",DiscordErrorLogging")
daemon_settingsText =
(
download_dir: c:\lbry\Downloads
lbryum_servers:
- a-hub1.odysee.com:50001
- spv11.lbry.com:50001
- spv19.lbry.com:50001
share_usage_data: false
tcp_port: 3335
use_upnp: false
)
Msgbox % "daemon_settingsText: " daemon_settingsText
FileDelete, C:\Users\%A_UserName%\AppData\Local\lbry\lbrynet\daemon_settings.yml
msgbox
FileAppend, %daemon_settingsText%,C:\Users\%A_UserName%\AppData\Local\lbry\lbrynet\daemon_settings.yml ; , Filename]
run, C:\Users\%A_UserName%\AppData\Local\lbry\lbrynet
msgbox, did it get appended?
}
try run, "%LBRYExeFilepath%" try run, "%LBRYExeFilepath%"
Message = Waiting 1 Minute for LBRY to start up Message = Waiting 1 Minute for LBRY to start up
SaveOrPostProgress(Message:=Message,PostType:="Tooltip") SaveOrPostProgress(Message:=Message,PostType:="Tooltip")

Loading…
Cancel
Save