Remove -name from autoreload.py

(since this argument no longer works on Moment)
This commit is contained in:
Maze 2024-01-03 11:34:15 +01:00
parent f5691fd8be
commit fd1fa516cb

View File

@ -3,9 +3,7 @@
Automatically rebuild and restart the application when source files change.
CONFIG+=dev will be passed to qmake, see moment.pro.
The application will be launched with `-name dev`, which sets the first
part of the WM_CLASS as returned by xprop on Linux.
Any other arguments will be passed to the app, see `moment --help`.
Arguments will be passed to the app, see `moment --help`.
Use `pip3 install --user -U requirements-dev.txt` before running this."""
@ -52,7 +50,7 @@ def run_app(args=sys.argv[1:]) -> None:
with suppress(KeyboardInterrupt):
cmd("qmake", "moment.pro", "CONFIG+=dev")
cmd("make")
cmd("./moment", "-name", "dev", *args)
cmd("./moment", *args)
if __name__ == "__main__":