diff --git a/ChangeLog b/ChangeLog index 747f55e..85297a2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +-- 0.7.1 -- +* update link to pycrypto installer for Windows in 'DEPS' +* only chdir on linux (fixes qwad not running on some Windows installation) +* fix relative paths for -d/--download cli on linux + -- 0.7 -- * cli-options now can properly handle relative paths * --tmdinfo does now longer fail when checking an IOS diff --git a/Qwad.pyw b/Qwad.pyw index 2576928..3558ee7 100644 --- a/Qwad.pyw +++ b/Qwad.pyw @@ -60,6 +60,13 @@ def opts(): if options.download: if args[0] is "0": args[0] = None + if sys.platform.startswith('linux'): + if args[1].startswith('./'): + wadname = str(args[1][2:]) + args[1] = os.getcwd() + '/' + wadname + elif not args[1].startswith('/'): + wadname = args[1] + args[1] = os.getcwd() + '/' + wadname if "." in str(options.download[0]): dld = ChannelCLIDict[str(options.download[0][:-4])] reg = str(options.download[0][-3:])