Get the Engram settings from the local Graviton tree
()
| 266 | |
| 267 | // Get the Engram settings from the local Graviton tree |
| 268 | func initSettings() { |
| 269 | getNetwork() |
| 270 | getMode() |
| 271 | getDaemon() |
| 272 | getGnomon() |
| 273 | if a.Driver().Device().IsMobile() { |
| 274 | err := tela.SetShardPath(filepath.Join(AppPath(), filepath.Dir(shards.GetPath()))) |
| 275 | if err != nil { |
| 276 | logger.Errorf("[Engram] Setting TELA shard: %s\n", err) |
| 277 | return |
| 278 | } |
| 279 | |
| 280 | os.RemoveAll(tela.GetPath()) |
| 281 | } |
| 282 | } |
| 283 | |
| 284 | // Go routine to update the latest information from the connected daemon (Online Mode only) |
| 285 | func StartPulse() { |
no test coverage detected