forked from cwtch.im/ui
initial commit
This commit is contained in:
parent
8a9ba6d154
commit
9cb11162cf
8
main.go
8
main.go
|
@ -20,6 +20,7 @@ import (
|
|||
"bounce/go/cwtchthings"
|
||||
"bounce/go/gothings"
|
||||
"bounce/go/gobjects"
|
||||
"git.openprivacy.ca/openprivacy/libricochet-go/connectivity"
|
||||
)
|
||||
|
||||
func init() {
|
||||
|
@ -103,12 +104,13 @@ func loadCwtchData(gcd *gothings.GrandCentralDispatcher) {
|
|||
*/
|
||||
os.MkdirAll(the.CwtchDir, 0700)
|
||||
|
||||
the.CwtchApp, err = libapp.NewApp(the.CwtchDir, "tor")
|
||||
mn, err := connectivity.StartTor(the.CwtchDir, "")
|
||||
if err != nil {
|
||||
//TODO no more fatalfs
|
||||
log.Fatalf("couldn't create cwtch app: %v", err)
|
||||
log.Printf("[!!!] Could not start Tor: %v", err)
|
||||
}
|
||||
|
||||
the.CwtchApp = libapp.NewApp(mn, the.CwtchDir)
|
||||
|
||||
err = the.CwtchApp.LoadProfiles("be gay do crime")
|
||||
if err != nil {
|
||||
//TODO no more fatalfs
|
||||
|
|
Loading…
Reference in New Issue