removed unnecessary graphics and added initial support for checking lbry daemon_settings for Odysee server
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 355 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 341 KiB |
BIN
Assets/Share.ico
BIN
Assets/Share.ico
Binary file not shown.
|
Before Width: | Height: | Size: 185 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 213 KiB |
7
Assets/daemon_settings.yml
Normal file
7
Assets/daemon_settings.yml
Normal file
@@ -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")
|
||||
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%"
|
||||
Message = Waiting 1 Minute for LBRY to start up
|
||||
SaveOrPostProgress(Message:=Message,PostType:="Tooltip")
|
||||
|
||||
Reference in New Issue
Block a user