Support Custom Tor Configuration #60

Merged
erinn merged 2 commits from custom_tor_config into trunk 2022-01-12 22:24:40 +00:00
3 changed files with 7 additions and 4 deletions
Showing only changes of commit 0eb7a91d26 - Show all commits

2
lib.go
View File

@ -119,7 +119,7 @@ func StartCwtch(appDir string, torPath string) int {
}
func _startCwtch(appDir string, torPath string) {
log.Infof("application: %v eventHandler: %v acn: %v", application, eventHandler, globalACN)
log.Infof("application: %v eventHandler: %v", application, eventHandler)
if application != nil {
log.Infof("_startCwtch detected existing application; resuming instead of relaunching")

View File

@ -3,10 +3,13 @@
echo "Checking code quality (you want to see no output here)"
echo ""
echo "Vetting:"
go list ./... | xargs go vet
echo ""
echo "Linting:"
go list ./... | xargs golint
staticcheck ./...
echo "Time to format"
@ -18,4 +21,4 @@ ineffassign .
# misspell (https://github.com/client9/misspell/cmd/misspell)
echo "Checking for misspelled words..."
misspell . | grep -v "vendor/" | grep -v "go.sum" | grep -v ".idea"
misspell . | grep -v "testing/" | grep -v "vendor/" | grep -v "go.sum" | grep -v ".idea"

View File

@ -40,7 +40,7 @@ type GlobalSettings struct {
UIColumnModePortrait string
UIColumnModeLandscape string
DownloadPath string
AllowAdvancedTorConfig bool
AllowAdvancedTorConfig bool
CustomTorrc string
UseCustomTorrc bool
UseExternalTor bool