Delete Sparkle.
This commit is contained in:
parent
471b3e0415
commit
16920e68ae
|
@ -523,9 +523,7 @@
|
|||
49CF3B1920CD7463001EBF94 /* Sources */,
|
||||
49CF3B1A20CD7463001EBF94 /* Frameworks */,
|
||||
49CF3B1B20CD7463001EBF94 /* Resources */,
|
||||
A741C26F5755233F0D7CEC6F /* [CP] Embed Pods Frameworks */,
|
||||
663E4677213FCDC4006F11BB /* Copy Files */,
|
||||
494ED8F023EB0B36008D5D2F /* Run Script - Sparkle */,
|
||||
318032FABBC2E552CB58B254 /* [CP] Copy Pods Resources */,
|
||||
);
|
||||
buildRules = (
|
||||
|
@ -658,41 +656,6 @@
|
|||
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-ClashX/Pods-ClashX-resources.sh\"\n";
|
||||
showEnvVarsInLog = 0;
|
||||
};
|
||||
494ED8F023EB0B36008D5D2F /* Run Script - Sparkle */ = {
|
||||
isa = PBXShellScriptBuildPhase;
|
||||
buildActionMask = 12;
|
||||
files = (
|
||||
);
|
||||
inputFileListPaths = (
|
||||
);
|
||||
inputPaths = (
|
||||
);
|
||||
name = "Run Script - Sparkle";
|
||||
outputFileListPaths = (
|
||||
);
|
||||
outputPaths = (
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
shellPath = /bin/sh;
|
||||
shellScript = "# Type a script or drag a script file from your workspace to insert its path.\nLOCATION=\"${BUILT_PRODUCTS_DIR}\"/\"${FRAMEWORKS_FOLDER_PATH}\"\n\n# By default, use the configured code signing identity for the project/target\nIDENTITY=\"${CODE_SIGN_IDENTITY}\"\nif [ \"$IDENTITY\" == \"\" ]\nthen\n # If a code signing identity is not specified, use ad hoc signing\n IDENTITY=\"-\"\nfi\ncodesign --verbose --force --deep -o runtime --sign \"$IDENTITY\" \"$LOCATION/Sparkle.framework/Versions/A/Resources/AutoUpdate.app\"\ncodesign --verbose --force -o runtime --sign \"$IDENTITY\" \"$LOCATION/Sparkle.framework/Versions/A\"\n";
|
||||
};
|
||||
A741C26F5755233F0D7CEC6F /* [CP] Embed Pods Frameworks */ = {
|
||||
isa = PBXShellScriptBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
);
|
||||
inputFileListPaths = (
|
||||
"${PODS_ROOT}/Target Support Files/Pods-ClashX/Pods-ClashX-frameworks-${CONFIGURATION}-input-files.xcfilelist",
|
||||
);
|
||||
name = "[CP] Embed Pods Frameworks";
|
||||
outputFileListPaths = (
|
||||
"${PODS_ROOT}/Target Support Files/Pods-ClashX/Pods-ClashX-frameworks-${CONFIGURATION}-output-files.xcfilelist",
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
shellPath = /bin/sh;
|
||||
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-ClashX/Pods-ClashX-frameworks.sh\"\n";
|
||||
showEnvVarsInLog = 0;
|
||||
};
|
||||
/* End PBXShellScriptBuildPhase section */
|
||||
|
||||
/* Begin PBXSourcesBuildPhase section */
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
//
|
||||
|
||||
import Cocoa
|
||||
import Sparkle
|
||||
//import Sparkle
|
||||
|
||||
class AutoUpgardeManager: NSObject {
|
||||
static let shared = AutoUpgardeManager()
|
||||
|
@ -41,7 +41,7 @@ class AutoUpgardeManager: NSObject {
|
|||
|
||||
func setup() {
|
||||
guard WebPortalManager.hasWebProtal == false, allowSelectChannel else { return }
|
||||
SUUpdater.shared()?.delegate = self
|
||||
// SUUpdater.shared()?.delegate = self
|
||||
}
|
||||
|
||||
func addChanelMenuItem(_ menu: inout NSMenu) {
|
||||
|
@ -72,15 +72,15 @@ extension AutoUpgardeManager {
|
|||
}
|
||||
}
|
||||
|
||||
extension AutoUpgardeManager: SUUpdaterDelegate {
|
||||
func feedURLString(for updater: SUUpdater) -> String? {
|
||||
return current.urlString
|
||||
}
|
||||
|
||||
func updaterWillRelaunchApplication(_ updater: SUUpdater) {
|
||||
SystemProxyManager.shared.disableProxy(port: 0, socksPort: 0, forceDisable: true)
|
||||
}
|
||||
}
|
||||
//extension AutoUpgardeManager: SUUpdaterDelegate {
|
||||
// func feedURLString(for updater: SUUpdater) -> String? {
|
||||
// return current.urlString
|
||||
// }
|
||||
//
|
||||
// func updaterWillRelaunchApplication(_ updater: SUUpdater) {
|
||||
// SystemProxyManager.shared.disableProxy(port: 0, socksPort: 0, forceDisable: true)
|
||||
// }
|
||||
//}
|
||||
|
||||
// MARK: - Channel Enum
|
||||
|
||||
|
|
1
Podfile
1
Podfile
|
@ -27,7 +27,6 @@ target 'ClashX' do
|
|||
pod 'WebViewJavascriptBridge'
|
||||
pod 'Starscream','3.1.1'
|
||||
pod 'AppCenter/Analytics'
|
||||
pod 'Sparkle','~>1.0'
|
||||
pod "FlexibleDiff"
|
||||
pod 'GzipSwift'
|
||||
end
|
||||
|
|
|
@ -15,7 +15,6 @@ PODS:
|
|||
- RxRelay (6.5.0):
|
||||
- RxSwift (= 6.5.0)
|
||||
- RxSwift (6.5.0)
|
||||
- Sparkle (1.27.1)
|
||||
- Starscream (3.1.1)
|
||||
- SwiftyJSON (5.0.1)
|
||||
- WebViewJavascriptBridge (6.0.3)
|
||||
|
@ -29,7 +28,6 @@ DEPENDENCIES:
|
|||
- LetsMove
|
||||
- RxCocoa
|
||||
- RxSwift
|
||||
- Sparkle (~> 1.0)
|
||||
- Starscream (= 3.1.1)
|
||||
- SwiftyJSON
|
||||
- WebViewJavascriptBridge
|
||||
|
@ -45,7 +43,6 @@ SPEC REPOS:
|
|||
- RxCocoa
|
||||
- RxRelay
|
||||
- RxSwift
|
||||
- Sparkle
|
||||
- Starscream
|
||||
- SwiftyJSON
|
||||
- WebViewJavascriptBridge
|
||||
|
@ -60,11 +57,10 @@ SPEC CHECKSUMS:
|
|||
RxCocoa: 94f817b71c07517321eb4f9ad299112ca8af743b
|
||||
RxRelay: 1de1523e604c72b6c68feadedd1af3b1b4d0ecbd
|
||||
RxSwift: 5710a9e6b17f3c3d6e40d6e559b9fa1e813b2ef8
|
||||
Sparkle: 23f98b268284c8c03e6228230fc8f1807ef041d5
|
||||
Starscream: 4bb2f9942274833f7b4d296a55504dcfc7edb7b0
|
||||
SwiftyJSON: 2f33a42c6fbc52764d96f13368585094bfd8aa5e
|
||||
WebViewJavascriptBridge: 7f5bc4d3581e672e8f32bd0f812d54bc69bb8e29
|
||||
|
||||
PODFILE CHECKSUM: 3d889ed6c786fdaa0a2b35a70d4c5abcb240da2b
|
||||
PODFILE CHECKSUM: 4c194d7ef1faf6264ad7aea0c19cdef3a2affaf1
|
||||
|
||||
COCOAPODS: 1.11.2
|
||||
COCOAPODS: 1.11.0
|
||||
|
|
Loading…
Reference in New Issue