OSDN Git Service

Well, that seems to work.
authorSimon Forman <sforman@hushmail.com>
Mon, 6 May 2019 20:32:08 +0000 (13:32 -0700)
committerSimon Forman <sforman@hushmail.com>
Mon, 6 May 2019 20:32:08 +0000 (13:32 -0700)
    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 [new file with mode: 0644]

diff --git a/joy/vui/__main__.py b/joy/vui/__main__.py
new file mode 100644 (file)
index 0000000..4e027c3
--- /dev/null
@@ -0,0 +1,24 @@
+# -*- coding: utf-8 -*-\r
+#\r
+#    Copyright © 2019 Simon Forman\r
+#\r
+#    This file is part of Thun\r
+#\r
+#    Thun is free software: you can redistribute it and/or modify\r
+#    it under the terms of the GNU General Public License as published by\r
+#    the Free Software Foundation, either version 3 of the License, or\r
+#    (at your option) any later version.\r
+#\r
+#    Thun is distributed in the hope that it will be useful,\r
+#    but WITHOUT ANY WARRANTY; without even the implied warranty of\r
+#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
+#    GNU General Public License for more details.\r
+#\r
+#    You should have received a copy of the GNU General Public License\r
+#    along with Thun.  If not see <http://www.gnu.org/licenses/>.\r
+#\r
+\r
+import joy.vui.main\r
+\r
+\r
+joy.vui.main.main(*joy.vui.main.init())\r