2018-11-22 00:01:17 +00:00
|
|
|
package the
|
|
|
|
|
|
|
|
import (
|
|
|
|
"cwtch.im/cwtch/app"
|
2019-05-22 18:18:53 +00:00
|
|
|
"cwtch.im/cwtch/event"
|
2018-11-28 22:14:02 +00:00
|
|
|
libPeer "cwtch.im/cwtch/peer"
|
2020-05-26 18:21:27 +00:00
|
|
|
"cwtch.im/cwtch/storage/v1"
|
2020-02-11 23:39:42 +00:00
|
|
|
"git.openprivacy.ca/openprivacy/connectivity"
|
2018-11-28 22:14:02 +00:00
|
|
|
)
|
2018-11-22 00:01:17 +00:00
|
|
|
|
2020-10-23 01:01:48 +00:00
|
|
|
// foundation block of the entire app. critical. never change, only obey
|
2019-07-23 20:40:54 +00:00
|
|
|
const AppPassword = "be gay do crime"
|
|
|
|
|
2018-11-22 00:01:17 +00:00
|
|
|
var CwtchApp app.Application
|
2019-06-21 21:58:40 +00:00
|
|
|
var CwtchService app.ApplicationService
|
2019-06-10 20:23:28 +00:00
|
|
|
var EventBus event.Manager
|
|
|
|
var AppBus event.Manager
|
2019-04-16 21:11:29 +00:00
|
|
|
var ACN connectivity.ACN
|
2018-11-22 00:01:17 +00:00
|
|
|
var Peer libPeer.CwtchPeer
|
|
|
|
var CwtchDir string
|
2019-06-21 21:58:40 +00:00
|
|
|
var IPCBridge event.IPCBridge
|
2020-05-26 18:21:27 +00:00
|
|
|
var GlobalSettingsFile v1.FileStore
|