1
1
mirror of https://github.com/neosubhamoy/neodlp.git synced 2026-03-23 04:15:49 +05:30

refactor: disable potoken on flatpak

This commit is contained in:
2026-03-07 09:50:14 +05:30
Verified
parent 7780c611b5
commit 2211f252c7
4 changed files with 45 additions and 38 deletions

View File

@@ -20,7 +20,8 @@ export default function usePotServer() {
const isFlatpak = await invoke<boolean>('is_flatpak');
const runCommand = isFlatpak
? Command.create('sh', [
'-c', `/app/bin/neodlp-pot server --port ${port ? port.toString() : potServerPort.toString()}`
'-c',
`neodlp-pot server --port ${port ? port.toString() : potServerPort.toString()}`
])
: Command.sidecar('binaries/neodlp-pot', [
'server',