mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-09-15 23:19:50 +00:00
update web script
This commit is contained in:
parent
9dbae6d0ae
commit
49945a3bce
1 changed files with 6 additions and 3 deletions
|
@ -3,9 +3,10 @@ import sys
|
||||||
import hashlib
|
import hashlib
|
||||||
import os
|
import os
|
||||||
|
|
||||||
from versions import version, version_win, version_mac
|
from versions import version, version_win, version_mac, template_path, dl_path
|
||||||
|
|
||||||
string = sys.stdin.read()
|
with open(template_path) as f:
|
||||||
|
string = f.read()
|
||||||
|
|
||||||
_tgz = "Electrum-%s.tar.gz" % version
|
_tgz = "Electrum-%s.tar.gz" % version
|
||||||
_zip = "Electrum-%s.zip" % version
|
_zip = "Electrum-%s.zip" % version
|
||||||
|
@ -37,4 +38,6 @@ string = string.replace("##md5_win##", md5_win)
|
||||||
string = string.replace("##md5_win_setup##", md5_win_setup)
|
string = string.replace("##md5_win_setup##", md5_win_setup)
|
||||||
string = string.replace("##md5_win_portable##", md5_win_portable)
|
string = string.replace("##md5_win_portable##", md5_win_portable)
|
||||||
|
|
||||||
print string
|
with open(dl_path,'w') as f:
|
||||||
|
f.write(string)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue