updates for android
This commit is contained in:
parent
ee6b718ea4
commit
ddef165e18
|
@ -34,7 +34,5 @@ if __name__ == '__main__':
|
|||
|
||||
# change filename because some 3G carriers do not allow users to download a zip file...
|
||||
e4a_name = "e4a-%s.zip"%version
|
||||
e4a_name2 = e4a_name.replace(".","")
|
||||
os.system("mv %s %s"%(e4a_name, e4a_name2))
|
||||
print "dist/%s"%e4a_name2
|
||||
print "dist/%s"%e4a_name
|
||||
|
||||
|
|
|
@ -55,10 +55,9 @@ from versions import android_template, android_page
|
|||
with open(android_template) as f:
|
||||
string = f.read()
|
||||
|
||||
e4a_name = "e4a-%s.zip"%version
|
||||
e4a_zipname = e4a_name.replace(".","")
|
||||
string = string.replace("##VERSION##",version)
|
||||
string = string.replace("##ZIPNAME##",e4a_zipname)
|
||||
e4a_zipname = "e4a-%s.zip"%version
|
||||
string = string.replace("##VERSION##", version)
|
||||
string = string.replace("##ZIPNAME##", e4a_zipname)
|
||||
|
||||
with open(android_page,'w') as f:
|
||||
f.write(string)
|
||||
|
|
4
electrum
4
electrum
|
@ -370,7 +370,6 @@ if __name__ == '__main__':
|
|||
# config is an object passed to the various constructors (wallet, interface, gui)
|
||||
if is_android:
|
||||
config_options = {
|
||||
'portable': True,
|
||||
'verbose': True,
|
||||
'gui': 'android',
|
||||
'auto_connect': True,
|
||||
|
@ -398,7 +397,8 @@ if __name__ == '__main__':
|
|||
gui_name = config.get('gui', 'qt') if args.cmd == 'gui' else 'cmdline'
|
||||
|
||||
# initialize plugins.
|
||||
init_plugins(config, is_bundle or is_local or is_android, gui_name)
|
||||
if not is_android:
|
||||
init_plugins(config, is_bundle or is_local or is_android, gui_name)
|
||||
|
||||
# call function attached to parser
|
||||
args.func(config)
|
||||
|
|
Loading…
Reference in New Issue