👍️[Update] Backend : backend exe name change text.exe to backend.exe

This commit is contained in:
misyaguziya
2024-08-21 01:18:02 +09:00
parent 95c0634300
commit aa0902ee15
4 changed files with 6 additions and 6 deletions

2
.gitignore vendored
View File

@@ -43,5 +43,5 @@ dist-ssr
.venv
# Customize
test-x86_64-pc-windows-msvc.spec
backend-x86_64-pc-windows-msvc.spec
/build

View File

@@ -5,7 +5,7 @@
"type": "module",
"scripts": {
"setup-python": "install.bat",
"build-python": "pyinstaller -F src-python/webui_mainloop.py --add-data ./fonts;fonts/ --add-data ./batch;batch/ --add-data .venv/Lib/site-packages/zeroconf;zeroconf/ --add-data .venv/Lib/site-packages/openvr;openvr/ --distpath src-tauri/bin --exclude-module pandas --exclude-module matplotlib --exclude-module PyQt5 --clean -n test-x86_64-pc-windows-msvc",
"build-python": "pyinstaller -F src-python/webui_mainloop.py --add-data ./fonts;fonts/ --add-data ./batch;batch/ --add-data .venv/Lib/site-packages/zeroconf;zeroconf/ --add-data .venv/Lib/site-packages/openvr;openvr/ --distpath src-tauri/bin --exclude-module pandas --exclude-module matplotlib --exclude-module PyQt5 --clean -n backend-x86_64-pc-windows-msvc",
"vite": "vite",
"vite-build": "vite build",
"vite-preview": "vite preview",

View File

@@ -6,7 +6,7 @@
"distDir": "../dist"
},
"package": {
"productName": "vrct",
"productName": "VRCT",
"version": "0.0.0"
},
"tauri": {
@@ -22,7 +22,7 @@
"sidecar": true,
"scope": [
{
"name": "bin/test", "sidecar": true,"args": true
"name": "bin/backend", "sidecar": true,"args": true
}
]
}
@@ -51,7 +51,7 @@
"icons/icon.ico"
],
"externalBin": [
"bin/test"
"bin/backend"
]
}
}

View File

@@ -5,7 +5,7 @@ export const useStartPython = () => {
const { receiveRoutes } = useReceiveRoutes();
const asyncStartPython = async () => {
const command = Command.sidecar("bin/test");
const command = Command.sidecar("bin/backend");
command.on("error", error => console.error(`error: "${error}"`));
command.stdout.on("data", (line) => {
let parsed_data = "";