mirror of
https://github.com/wownero/wowlet.git
synced 2026-10-23 10:08:47 +02:00
@@ -202,6 +202,10 @@ bool Tor::unpackBins() {
|
||||
QFile f(torFile);
|
||||
QFileInfo fileInfo(f);
|
||||
this->torPath = QDir(this->torDir).filePath(fileInfo.fileName());
|
||||
#if defined(Q_OS_WIN)
|
||||
if(!this->torPath.endsWith(".exe"))
|
||||
this->torPath += ".exe";
|
||||
#endif
|
||||
qDebug() << "Writing Tor executable to " << this->torPath;
|
||||
f.copy(torPath);
|
||||
f.close();
|
||||
|
||||
Reference in New Issue
Block a user