Fix OnionShare persistent arg

This commit is contained in:
thePR0M3TH3AN
2025-06-21 19:38:22 -04:00
parent 1480a6b4da
commit 44dbdcb034
2 changed files with 5 additions and 2 deletions

View File

@@ -30,7 +30,9 @@ if [ "${VOXVERA_E2E_OFFLINE:-}" != "1" ]; then
sleep 10
# Start OnionShare
onionshare-cli --website --public --persistent dist/demosite >"$LOG_DIR/onionshare.log" 2>&1 &
onionshare-cli --website --public \
--persistent ci/.onionshare-session \
dist/demosite >"$LOG_DIR/onionshare.log" 2>&1 &
OS_PID=$!
# Wait for URL

View File

@@ -346,7 +346,8 @@ def serve(config_path: str):
logfile = dir_path / 'onionshare.log'
cmd = [
'onionshare-cli', '--website', '--public', '--persistent',
'onionshare-cli', '--website', '--public',
'--persistent', str(dir_path / '.onionshare-session'),
'--external-tor-socks-port', socks,
'--external-tor-control-port', ctl,
str(dir_path)