diff --git a/pyproject.toml b/pyproject.toml index ae6ef2c..e9c6d71 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -15,6 +15,11 @@ dependencies = [ "tomli (>=2.0.1,<3.0) ; python_version < '3.11'", ] +[project.scripts] +gui-basic = "vmcompact.gui.basic:run" +gui-banana = "vmcompact.gui.banana:run" +gui-potato = "vmcompact.gui.potato:run" + [tool.poetry] packages = [{ include = "vmcompact" }] include = ["vmcompact/img/cat.ico"] diff --git a/vmcompact/gui/banana/__init__.py b/vmcompact/gui/banana/__init__.py new file mode 100644 index 0000000..86966d1 --- /dev/null +++ b/vmcompact/gui/banana/__init__.py @@ -0,0 +1 @@ +from .main import run diff --git a/vmcompact/gui/banana/main.py b/vmcompact/gui/banana/main.py new file mode 100644 index 0000000..00f5836 --- /dev/null +++ b/vmcompact/gui/banana/main.py @@ -0,0 +1,11 @@ +import voicemeeterlib + +import vmcompact + + +def run(): + KIND_ID = 'banana' + + with voicemeeterlib.api(KIND_ID) as vmr: + app = vmcompact.connect(KIND_ID, vmr) + app.mainloop() diff --git a/vmcompact/gui/basic/__init__.py b/vmcompact/gui/basic/__init__.py new file mode 100644 index 0000000..86966d1 --- /dev/null +++ b/vmcompact/gui/basic/__init__.py @@ -0,0 +1 @@ +from .main import run diff --git a/vmcompact/gui/basic/main.py b/vmcompact/gui/basic/main.py new file mode 100644 index 0000000..f94b1c0 --- /dev/null +++ b/vmcompact/gui/basic/main.py @@ -0,0 +1,11 @@ +import voicemeeterlib + +import vmcompact + + +def run(): + KIND_ID = 'basic' + + with voicemeeterlib.api(KIND_ID) as vmr: + app = vmcompact.connect(KIND_ID, vmr) + app.mainloop() diff --git a/vmcompact/gui/potato/__init__.py b/vmcompact/gui/potato/__init__.py new file mode 100644 index 0000000..86966d1 --- /dev/null +++ b/vmcompact/gui/potato/__init__.py @@ -0,0 +1 @@ +from .main import run diff --git a/vmcompact/gui/potato/main.py b/vmcompact/gui/potato/main.py new file mode 100644 index 0000000..abe0799 --- /dev/null +++ b/vmcompact/gui/potato/main.py @@ -0,0 +1,11 @@ +import voicemeeterlib + +import vmcompact + + +def run(): + KIND_ID = 'potato' + + with voicemeeterlib.api(KIND_ID) as vmr: + app = vmcompact.connect(KIND_ID, vmr) + app.mainloop()