mirror of
https://github.com/an-anime-team/an-anime-game-launcher.git
synced 2024-12-29 21:18:17 +03:00
Fixed discord-rpc
binary file execution
This commit is contained in:
parent
6fb8852ef4
commit
9aaf1e8ddd
2 changed files with 2 additions and 2 deletions
|
@ -6,7 +6,7 @@
|
|||
"scripts": {
|
||||
"neu": "neu",
|
||||
"dev": "vite build && neu run --disable-auto-reload",
|
||||
"build": "vite build && rm -rf dist/an-anime-game-launcher/public && mkdir dist/an-anime-game-launcher/public && cp public/runners.json dist/an-anime-game-launcher/public && cp public/dxvks.json dist/an-anime-game-launcher/public && cp -r public/locales dist/an-anime-game-launcher/public/locales && cp -r public/shaders dist/an-anime-game-launcher/public/shaders && neu build --release",
|
||||
"build": "vite build && rm -rf dist/an-anime-game-launcher/public && mkdir dist/an-anime-game-launcher/public && cp public/runners.json dist/an-anime-game-launcher/public && cp public/dxvks.json dist/an-anime-game-launcher/public && cp -r public/locales dist/an-anime-game-launcher/public/locales && cp -r public/shaders dist/an-anime-game-launcher/public/shaders && cp -r public/discord-rpc dist/an-anime-game-launcher/public/discord-rpc && neu build --release",
|
||||
"bundle": "node scripts/bundle-appimage.cjs",
|
||||
"check": "svelte-check --tsconfig ./tsconfig.json"
|
||||
},
|
||||
|
|
|
@ -14,7 +14,7 @@ export default class DiscordRPC
|
|||
this.params = params;
|
||||
|
||||
let exec = [
|
||||
`${NL_CWD}/public/discord-rpc/discord-rpc`,
|
||||
`"${Process.addSlashes(NL_CWD)}/public/discord-rpc/discord-rpc"`,
|
||||
`-a ${params.id}`
|
||||
];
|
||||
|
||||
|
|
Loading…
Reference in a new issue