Skip to content

Commit 2ebd54c

Browse files
author
Dr. Brandon Wiley
committed
Changed Redis Launching
1 parent bdc33c9 commit 2ebd54c

2 files changed

Lines changed: 4 additions & 8 deletions

File tree

AdversaryLabSwift/AppDelegate.swift

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,6 @@ import Cocoa
1111
@NSApplicationMain
1212
class AppDelegate: NSObject, NSApplicationDelegate
1313
{
14-
15-
func applicationWillBecomeActive(_ notification: Notification)
16-
{
17-
// Launch Redis Server
18-
print("Launching Redis Server!")
19-
RedisServerController.sharedInstance.launchRedisServer()
20-
}
21-
2214
func applicationDidFinishLaunching(_ aNotification: Notification)
2315
{
2416

AdversaryLabSwift/ViewController.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,10 @@ class ViewController: NSViewController
137137
{
138138
super.viewDidLoad()
139139

140+
// Launch Redis Server
141+
print("Launching Redis Server!")
142+
RedisServerController.sharedInstance.launchRedisServer()
143+
140144
// Subscribe to pubsub to know when to inspect a new connection
141145
//subscribeToNewConnectionsChannel()
142146

0 commit comments

Comments
 (0)