Files
game_voice_recorder/app/package.json
EJClaw adc1c66f47 v1.5.0: 게임 PC 앱이 발로란트 리플레이(.vrf)를 찾아 변환해 사이트 3D 재생기로 보냄
- 앱: %LOCALAPPDATA%\VALORANT\Saved 아래 <경기 ID>.vrf 를 찾아 gvr-replay.exe 로 변환,
  GVR-Data/replays/<경기 ID>.json.gz 로 보관 (원본 · 앱 버전이 같으면 다시 변환하지 않음)
- GET /api/matches/:id/replay: gzip JSON, 처음 변환이 15초를 넘으면 202 converting,
  실패 422 replay_failed(이유), 변환기 없음 500. GET /api/replays: 찾은 리플레이 목록
- 변환은 한 번에 하나, 낮은 우선순위. 실패한 파일은 다시 내려받을 때까지 다시 하지 않음
- 중계: content-encoding 이 있는 응답은 바이너리 조각으로 (gzip 이 깨지지 않게)
- 사이트: 변환 중(202)이면 3초마다 다시 묻고 '변환하는 중' 표시, 변환 실패 안내
- 빌드: win-ci 가 .NET 10 SDK 로 gvr-replay.exe(단일 파일)를 만들어 resources/replay 에 넣고,
  시험 리플레이로 변환기 · 포터블 앱 안 변환까지 확인 (smoke GVR_SMOKE_VRF)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-17 14:55:38 +09:00

122 lines
3.0 KiB
JSON

{
"name": "gvr-app",
"productName": "겜녹이",
"version": "1.5.0",
"description": "겜녹이 (Game Voice Recorder) - 게임 연동 디스코드 음성 기록",
"private": true,
"main": "dist/main.cjs",
"author": "tkrmagid",
"license": "UNLICENSED",
"scripts": {
"build": "node build.mjs",
"typecheck": "tsc --noEmit -p .",
"test": "node --import tsx --test test/*.test.ts",
"core": "node --import tsx src/core/cli.ts",
"start": "npm run build && electron .",
"dist:win": "npm run build && electron-builder --win --x64 --publish never",
"dist:dir": "npm run build && electron-builder --dir --publish never"
},
"dependencies": {
"@discordjs/voice": "^0.19.2",
"better-sqlite3": "^12.11.1",
"discord.js": "^14.27.0",
"fastify": "^5.6.1",
"msedge-tts": "^2.0.3",
"prism-media": "^1.3.5",
"ws": "^8.18.3"
},
"devDependencies": {
"@types/better-sqlite3": "^7.6.13",
"@types/node": "^22.18.0",
"@types/react": "^19.3.0",
"@types/react-dom": "^19.3.0",
"@types/ws": "^8.18.1",
"electron": "^38.8.6",
"electron-builder": "^26.0.12",
"esbuild": "^0.25.10",
"react": "^19.3.0",
"react-dom": "^19.3.0",
"tsx": "^4.20.6",
"typescript": "^5.9.3"
},
"build": {
"appId": "kr.tkrmagid.gvr",
"productName": "겜녹이",
"executableName": "GameVoiceRecorder",
"copyright": "tkrmagid",
"directories": {
"output": "release",
"buildResources": "build-res"
},
"files": [
"dist/**/*",
"!dist/**/*.map",
"package.json"
],
"asar": true,
"electronFuses": {
"runAsNode": false,
"enableNodeOptionsEnvironmentVariable": false,
"enableNodeCliInspectArguments": false,
"onlyLoadAppFromAsar": true,
"enableCookieEncryption": true
},
"asarUnpack": [
"node_modules/better-sqlite3/**",
"node_modules/@snazzah/**",
"node_modules/bindings/**",
"node_modules/file-uri-to-path/**"
],
"extraResources": [
{
"from": "resources",
"to": "gvr"
},
{
"from": "../worker/dist/gvr-worker",
"to": "worker"
},
{
"from": "../tools/replay-extract/out/win",
"to": "replay",
"filter": [
"gvr-replay.exe"
]
},
{
"from": "../assets/app",
"to": "brand",
"filter": [
"*.png",
"*.ico"
]
}
],
"npmRebuild": true,
"win": {
"target": [
{
"target": "zip",
"arch": [
"x64"
]
},
{
"target": "portable",
"arch": [
"x64"
]
}
],
"icon": "../assets/app/icon.ico",
"artifactName": "GameVoiceRecorder-${version}-win-x64.${ext}",
"signAndEditExecutable": true
},
"portable": {
"artifactName": "GameVoiceRecorder-${version}-portable.exe",
"unpackDirName": "GameVoiceRecorder",
"splashImage": "../assets/app/splash.bmp"
}
}
}