Skip to content

Commit

Permalink
Revert OutlinePlugin changes and instead use a NSNotification tar…
Browse files Browse the repository at this point in the history
…get.
  • Loading branch information
sbruens committed Aug 15, 2023
1 parent f1b83fc commit 48148d7
Show file tree
Hide file tree
Showing 13 changed files with 411 additions and 563 deletions.
14 changes: 3 additions & 11 deletions src/cordova/apple/OutlineAppleLib/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ let package = Package(
products: [
.library(
name: "OutlineAppleLib",
targets: ["Tun2socks", "OutlineSentryLogger", "OutlineTunnel", "OutlineCatalystApp", "OutlinePlugin"]
targets: ["Tun2socks", "OutlineSentryLogger", "OutlineTunnel", "OutlineCatalystApp", "OutlineNotifications"]
),
.library(
name: "OutlineLauncher",
Expand Down Expand Up @@ -46,7 +46,7 @@ let package = Package(
name: "OutlineAppKitBridge",
dependencies: [
.product(name: "CocoaLumberjackSwift", package: "CocoaLumberjack"),
"OutlinePlugin",
"OutlineNotifications",
]
),
.target(
Expand All @@ -60,15 +60,7 @@ let package = Package(
.headerSearchPath("Internal"),
]
),
.target(
name: "OutlinePlugin",
dependencies: [
.product(name: "CocoaLumberjackSwift", package: "CocoaLumberjack"),
.product(name: "Sentry", package: "sentry-cocoa"),
"OutlineSentryLogger",
"OutlineTunnel",
]
),
.target(name: "OutlineNotifications"),
.target(
name: "OutlineSentryLogger",
dependencies: [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#if os(macOS)
import AppKit
import CocoaLumberjackSwift
import OutlinePlugin
import OutlineNotifications

var StatusItem = NSStatusItem()

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
import CocoaLumberjackSwift
import Foundation
import OutlineAppKitBridge
import OutlinePlugin
import OutlineNotifications
import ServiceManagement

@objcMembers
Expand Down

This file was deleted.

Loading

0 comments on commit 48148d7

Please sign in to comment.