Skip to content

Commit 13a5390

Browse files
committed
prevent service from doing any unwanted indexing whatsoever while benchmarking
1 parent 7aac500 commit 13a5390

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

ExtensionService/AppDelegate.swift

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,13 @@ class AppDelegate: NSObject, NSApplicationDelegate, NSWindowDelegate {
5656

5757
func applicationDidFinishLaunching(_: Notification) {
5858
if ProcessInfo.processInfo.environment["IS_UNIT_TEST"] == "YES" { return }
59-
_ = XcodeInspector.shared
60-
service.start()
61-
AXIsProcessTrustedWithOptions([
62-
kAXTrustedCheckOptionPrompt.takeRetainedValue() as NSString: true,
63-
] as CFDictionary)
64-
setupQuitOnUpdate()
65-
setupQuitOnUserTerminated()
59+
// _ = XcodeInspector.shared
60+
// service.start()
61+
// AXIsProcessTrustedWithOptions([
62+
// kAXTrustedCheckOptionPrompt.takeRetainedValue() as NSString: true,
63+
// ] as CFDictionary)
64+
// setupQuitOnUpdate()
65+
// setupQuitOnUserTerminated()
6666
xpcController = .init()
6767
Logger.service.info("XPC Service started.")
6868
NSApp.setActivationPolicy(.accessory)

0 commit comments

Comments
 (0)