From 04789455a37cfb1edec3cfcef93c6346804352f3 Mon Sep 17 00:00:00 2001 From: JianMiau Date: Mon, 26 Aug 2024 17:22:51 +0800 Subject: [PATCH] [add] Slot1 FreeGame --- package.json | 3 +-- src/api/slot1/fgspin.ts | 17 ++++++++++------- src/api/slot1/spin.ts | 2 +- 3 files changed, 12 insertions(+), 10 deletions(-) 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