commit be9f1897c6d102af945eccd706903bdb25cb506a
parent 5397142fe00f017ceca1acfd35720dd51c18f282
Author: thomasv <thomasv@gitorious>
Date: Fri, 12 Apr 2013 13:02:07 +0200
Merge branch 'master' of github.com:spesmilo/electrum
Diffstat:
2 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/contrib/build-wine/deterministic.spec b/contrib/build-wine/deterministic.spec
@@ -43,14 +43,15 @@ a.datas += extra_datas('plugins')
pyz = PYZ(a.pure)
exe = EXE(pyz,
a.scripts,
- exclude_binaries=1,
+ a.binaries,
+ a.datas,
name=os.path.join('build\\pyi.win32\\electrum', 'electrum.exe'),
debug=False,
strip=None,
upx=False,
icon='icons/electrum.ico',
- console=True)
- # The console True makes an annoying black box pop up, but it does make Electrum accept command line options.
+ console=False)
+ # The console True makes an annoying black box pop up, but it does make Electrum output command line commands, with this turned off no output will be given but commands can still be used
coll = COLLECT(exe,
a.binaries,
@@ -60,5 +61,5 @@ coll = COLLECT(exe,
upx=True,
debug=False,
icon='icons/electrum.ico',
- console=True,
+ console=False,
name=os.path.join('dist', 'electrum'))
diff --git a/electrum b/electrum
@@ -88,6 +88,8 @@ if __name__ == '__main__':
parser = arg_parser()
options, args = parser.parse_args()
+ if options.portable and options.wallet_path is None:
+ options.wallet_path = os.path.dirname(os.path.realpath(__file__)) + '/electrum.dat'
set_verbosity(options.verbose)
# config is an object passed to the various constructors (wallet, interface, gui)