You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$sMsgBoxMsg="It looks Tor is not configured properly in ProxAllium yet, most likely this is your first run. Do not worry, ProxAllium can guide you through the process!"&@CRLF
640
+
$sMsgBoxMsg&=@CRLF&"Do you want to continue with the setup process?"
$sMsgBoxMsg="It is also possible to just use Tor, but I recommend installing the Tor Browser as it automatically updates your copy of Tor when you update the browser and it also adds support for bridges."&@CRLF
651
+
$sMsgBoxMsg&=@CRLF&'Do you want to install Tor Browser and use Tor from it? Choose "No" to continue with only Tor.'
If$bUseTBThenMsgBox($MB_ICONINFORMATION, $sMsgBoxTitle, "Please download and install the latest version of Tor Browser and click OK to continue.")
654
+
EndIf
655
+
656
+
Local$sTorFolder, $bFoundTor=False
657
+
If$bUseTBThen
658
+
Do
659
+
$sTorFolder=FileSelectFolder("Please select the folder containing Tor Browser", "", 0, @DesktopDir&'\Tor Browser')
660
+
If@errorThenReturnFalse
661
+
$sTorFolder=$sTorFolder&'\Browser\TorBrowser\Tor'
662
+
IfFileExists($sTorFolder&'\tor.exe') Then
663
+
$bFoundTor=True
664
+
EndIf
665
+
IfNot$bFoundTorThenMsgBox($MB_ICONERROR, "Tor not found", 'Cannot find tor.exe in this folder, please try again and make sure you have selected the installation directory (and not the "Browser" folder inside it).')
666
+
Until$bFoundTor
667
+
Else
668
+
$iMsgBoxFlags=$MB_ICONQUESTION+$MB_YESNO
669
+
$sMsgBoxMsg='Do you want to download Tor? If you already have a copy of Tor in your computer, then choose "No".'
$sMsgBoxMsg='The URL (https://www.torproject.org/download/tor) for the page which contains the link to download the "Tor Expert Bundle" has been copied to your clipboard.'&@CRLF
673
+
$sMsgBoxMsg&=@CRLF&"Please download it and extract the files to a permanent location (a sub-folder in ProxAllium's folder should be perfect), Click OK when you are done."
$sTorFolder=FileSelectFolder("Please select the folder containing Tor", "")
679
+
If@errorThenReturnFalse
680
+
IfFileExists($sTorFolder&'\Tor\tor.exe') Then
681
+
$sTorFolder=$sTorFolder&'\Tor'
682
+
$bFoundTor=True
683
+
ElseIfFileExists($sTorFolder&'\tor.exe') Then
684
+
$bFoundTor=True
685
+
EndIf
686
+
IfNot$bFoundTorThenMsgBox($MB_ICONERROR, "Tor not found", "Cannot find tor.exe in this folder, please make sure you have selected the right folder and try again.")
0 commit comments