2019-02-24 12:40:41 +00:00
|
|
|
diff --git a/qutebrowser/app.py b/qutebrowser/app.py
|
2020-01-10 09:05:13 +00:00
|
|
|
index a47b5d2f4..f23ee23ef 100644
|
2019-02-24 12:40:41 +00:00
|
|
|
--- a/qutebrowser/app.py
|
|
|
|
+++ b/qutebrowser/app.py
|
2020-01-10 09:05:13 +00:00
|
|
|
@@ -573,13 +573,8 @@ class Quitter(QObject):
|
|
|
|
Return:
|
|
|
|
The commandline as a list of strings.
|
2019-02-24 12:40:41 +00:00
|
|
|
"""
|
|
|
|
- if os.path.basename(sys.argv[0]) == 'qutebrowser':
|
|
|
|
- # Launched via launcher script
|
|
|
|
- args = [sys.argv[0]]
|
|
|
|
- elif hasattr(sys, 'frozen'):
|
|
|
|
- args = [sys.executable]
|
|
|
|
- else:
|
|
|
|
- args = [sys.executable, '-m', 'qutebrowser']
|
|
|
|
+ args = ['@qutebrowser@']
|
|
|
|
+ cwd = None
|
|
|
|
|
|
|
|
# Add all open pages so they get reopened.
|
2020-01-10 09:05:13 +00:00
|
|
|
page_args = [] # type: typing.MutableSequence[str]
|