mirror of
https://github.com/curly60e/pyblock.git
synced 2026-08-20 13:28:10 +02:00
Add files via upload
This commit is contained in:
parent
0e9d8049a9
commit
8fdced357c
1 changed files with 7 additions and 6 deletions
|
|
@ -3658,11 +3658,12 @@ def callGitNostrMacTerminal():
|
|||
"Nostr Console macOS", colors=['yellow'], align='left', font='tiny'
|
||||
)
|
||||
if os.path.isdir ('nostr_console_pyblock'):
|
||||
print("...pass...")
|
||||
os.system("cd nostr_console_pyblock && rm -rf nostr_console_macOS && wget https://raw.githubusercontent.com/curly60e/pyblock/master/pybitblock/nostr_console_pyblock/nostr_console_elf64 && chmod 777 *")
|
||||
else: # Check if the file 'bclock.conf' is in the same folder
|
||||
os.system("mkdir nostr_console_pyblock && cd nostr_console_pyblock && wget https://raw.githubusercontent.com/curly60e/pyblock/master/pybitblock/nostr_console_pyblock/nostr_console_macOS")
|
||||
clear()
|
||||
blogo()
|
||||
|
||||
print(output)
|
||||
responseC = input("Paste your PrivateKey: ")
|
||||
os.system(f"cd nostr_console_pyblock && ./nostr_console_macOS -k {responseC}")
|
||||
|
|
@ -3677,7 +3678,7 @@ def callGitNostrWinTerminal():
|
|||
"Nostr Console Windows", colors=['yellow'], align='left', font='tiny'
|
||||
)
|
||||
if os.path.isdir ('nostr_console_pyblock'):
|
||||
print("...pass...")
|
||||
os.system("cd nostr_console_pyblock && rm -rf nostr_console_win64 && wget https://raw.githubusercontent.com/curly60e/pyblock/master/pybitblock/nostr_console_pyblock/nostr_console_elf64 && chmod 777 *")
|
||||
else: # Check if the file 'bclock.conf' is in the same folder
|
||||
os.system("mkdir nostr_console_pyblock && cd nostr_console_pyblock && wget https://raw.githubusercontent.com/curly60e/pyblock/master/pybitblock/nostr_console_pyblock/nostr_console_win64.exe")
|
||||
clear()
|
||||
|
|
@ -3696,7 +3697,7 @@ def callGitNostrLinTerminal():
|
|||
"Nostr Console Linux", colors=['yellow'], align='left', font='tiny'
|
||||
)
|
||||
if os.path.isdir ('nostr_console_pyblock'):
|
||||
print("...pass...")
|
||||
os.system("cd nostr_console_pyblock && rm -rf nostr_console_elf64 && wget https://raw.githubusercontent.com/curly60e/pyblock/master/pybitblock/nostr_console_pyblock/nostr_console_elf64 && chmod 777 *")
|
||||
else: # Check if the file 'bclock.conf' is in the same folder
|
||||
os.system("mkdir nostr_console_pyblock && cd nostr_console_pyblock && wget https://raw.githubusercontent.com/curly60e/pyblock/master/pybitblock/nostr_console_pyblock/nostr_console_elf64 && chmod 777 *")
|
||||
clear()
|
||||
|
|
@ -3706,6 +3707,7 @@ def callGitNostrLinTerminal():
|
|||
os.system(f"cd nostr_console_pyblock && ./nostr_console_elf64 -k {responseC}")
|
||||
except:
|
||||
menuSelection()
|
||||
|
||||
def callGitNostrSeedTerminal():
|
||||
try:
|
||||
clear()
|
||||
|
|
@ -3724,8 +3726,7 @@ def callGitNostrSeedTerminal():
|
|||
os.system(f"cd nostr_seed && python3 nostr_seed.py {responseC}")
|
||||
input("\a\nContinue...")
|
||||
except:
|
||||
menuSelection()
|
||||
|
||||
menuSelection()
|
||||
#---------------------------------Cashu----------------------------------
|
||||
def callGitCashu():
|
||||
if not os.path.isdir('Cashu'):
|
||||
|
|
@ -7736,7 +7737,7 @@ def nostrmenu(menunos):
|
|||
elif menunos in ["C", "c"]:
|
||||
callGitNostrMacTerminal()
|
||||
elif menunos in ["S", "s"]:
|
||||
callGitNostrSeedTerminal()
|
||||
callGitNostrSeedTerminal()
|
||||
|
||||
def testClockRemote():
|
||||
b = rpc('getblockcount')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue