Fix OnionShare persistent arg

This commit is contained in:
thePR0M3TH3AN committed 2025-06-21 19:38:22 -04:00
1 parent 067209e861
commit 355df4e84b
2 files changed
+5 -2

No files matched your search

+3 -1
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
+2 -1
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)