mirror of
https://github.com/PR0M3TH3AN/VoxVera.git
synced 2025-09-08 23:18:42 +00:00
gui: reference embedded tor from package
This commit is contained in:
@@ -5,9 +5,10 @@ const getPort = require('get-port');
|
||||
async function launchTor() {
|
||||
const socks = await getPort();
|
||||
const control = await getPort();
|
||||
const exe = path.join(__dirname, 'resources', 'tor', process.platform,
|
||||
const torBase = path.join(__dirname, '..', '..', 'voxvera', 'resources', 'tor');
|
||||
const exe = path.join(torBase, process.platform,
|
||||
process.platform === 'win32' ? 'tor.exe' : 'tor');
|
||||
const obfs4 = path.join(__dirname, 'resources', 'tor', process.platform,
|
||||
const obfs4 = path.join(torBase, process.platform,
|
||||
process.platform === 'win32' ? 'obfs4proxy.exe' : 'obfs4proxy');
|
||||
|
||||
const args = [
|
||||
|
Reference in New Issue
Block a user