diff --git a/package.json b/package.json index a45adbd..33e59ef 100644 --- a/package.json +++ b/package.json @@ -5,8 +5,7 @@ "scripts": { "start": "electron .", "build": "tsc && copyfiles -u 1 src/electron/index.html dist/ && copyfiles -u 1 src/electron/index.css dist/", - "pack": "electron-packager . SDServer --platform=win32 --arch=x64 --out=dist/", - "buildexe": "npx electron-builder", + "buildexe": "npm run build && electron-builder", "api": "tsrpc-cli proto && tsrpc-cli api", "watch": "nodemon" }, diff --git a/src/api/slot1/fgspin.ts b/src/api/slot1/fgspin.ts index 1662e40..24cb632 100644 --- a/src/api/slot1/fgspin.ts +++ b/src/api/slot1/fgspin.ts @@ -8,15 +8,18 @@ export default function* (clientData: ClientData, req: INetRequest = { Status: 0, diff --git a/src/api/slot1/spin.ts b/src/api/slot1/spin.ts index 24a05a3..aed3f93 100644 --- a/src/api/slot1/spin.ts +++ b/src/api/slot1/spin.ts @@ -12,7 +12,7 @@ export default function* (clientData: ClientData, req: INetRequest