From b3a79df9a9a5ea8fa4f45ba3e6100720ef7749c1 Mon Sep 17 00:00:00 2001 From: Simon Forman Date: Mon, 6 May 2019 13:32:08 -0700 Subject: [PATCH] Well, that seems to work. python -m joy.vui With PyGame installed that starts the "VUI" on my system. Neat. The initial joy home (~/.joypy) is not quite compatible with the one set up by the GUI code. One simple way to fix that would be to e,g, make this use ~/.thun instead. --- joy/vui/__main__.py | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 joy/vui/__main__.py diff --git a/joy/vui/__main__.py b/joy/vui/__main__.py new file mode 100644 index 0000000..4e027c3 --- /dev/null +++ b/joy/vui/__main__.py @@ -0,0 +1,24 @@ +# -*- coding: utf-8 -*- +# +# Copyright © 2019 Simon Forman +# +# This file is part of Thun +# +# Thun is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# Thun is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with Thun. If not see . +# + +import joy.vui.main + + +joy.vui.main.main(*joy.vui.main.init())