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

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

No files matched your search

+1 -1
View File
@@ -43,5 +43,5 @@ dist-ssr
.venv .venv
# Customize # Customize
test-x86_64-pc-windows-msvc.spec backend-x86_64-pc-windows-msvc.spec
/build /build
+1 -1
View File
@@ -5,7 +5,7 @@
"type": "module", "type": "module",
"scripts": { "scripts": {
"setup-python": "install.bat", "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": "vite",
"vite-build": "vite build", "vite-build": "vite build",
"vite-preview": "vite preview", "vite-preview": "vite preview",
+3 -3
View File
@@ -6,7 +6,7 @@
"distDir": "../dist" "distDir": "../dist"
}, },
"package": { "package": {
"productName": "vrct", "productName": "VRCT",
"version": "0.0.0" "version": "0.0.0"
}, },
"tauri": { "tauri": {
@@ -22,7 +22,7 @@
"sidecar": true, "sidecar": true,
"scope": [ "scope": [
{ {
"name": "bin/test", "sidecar": true,"args": true "name": "bin/backend", "sidecar": true,"args": true
} }
] ]
} }
@@ -51,7 +51,7 @@
"icons/icon.ico" "icons/icon.ico"
], ],
"externalBin": [ "externalBin": [
"bin/test" "bin/backend"
] ]
} }
} }
+1 -1
View File
@@ -5,7 +5,7 @@ export const useStartPython = () => {
const { receiveRoutes } = useReceiveRoutes(); const { receiveRoutes } = useReceiveRoutes();
const asyncStartPython = async () => { const asyncStartPython = async () => {
const command = Command.sidecar("bin/test"); const command = Command.sidecar("bin/backend");
command.on("error", error => console.error(`error: "${error}"`)); command.on("error", error => console.error(`error: "${error}"`));
command.stdout.on("data", (line) => { command.stdout.on("data", (line) => {
let parsed_data = ""; let parsed_data = "";