将命令移至main.py中

This commit is contained in:
zhbaor 2024-09-23 19:14:57 +08:00
parent d9f1aae27c
commit 32496af392
4 changed files with 19 additions and 10 deletions

View file

@ -1,10 +1,10 @@
<script setup>
function webview() {
pywebview.api.run('start ..\\python\\pythonw webview_ui.py', 'mower-ng')
pywebview.api.run('webview', 'mower-ng')
}
function manager() {
pywebview.api.run('start ..\\python\\pythonw manager.py', 'mower-ng')
pywebview.api.run('manager', 'mower-ng')
}
</script>