Skip to content

Commit

Permalink
Merge pull request #12 from ubenmackin/vmmanager
Browse files Browse the repository at this point in the history
Add sparkle auto updater
  • Loading branch information
ubenmackin authored Dec 13, 2020
2 parents 854b8e7 + 83e2561 commit 3892e2b
Show file tree
Hide file tree
Showing 230 changed files with 7,759 additions and 9 deletions.
90 changes: 85 additions & 5 deletions ACVM.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@
archiveVersion = 1;
classes = {
};
objectVersion = 50;
objectVersion = 51;
objects = {

/* Begin PBXBuildFile section */
B633E36EB39ED956691F1478 /* Pods_ACVM.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1978F9AFBE672B763161F8B2 /* Pods_ACVM.framework */; };
CC032B622574D9A6002CE035 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = CC032B612574D9A6002CE035 /* AppDelegate.swift */; };
CC032B642574D9A6002CE035 /* VMConfigVC.swift in Sources */ = {isa = PBXBuildFile; fileRef = CC032B632574D9A6002CE035 /* VMConfigVC.swift */; };
CC032B662574D9A7002CE035 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = CC032B652574D9A7002CE035 /* Assets.xcassets */; };
Expand Down Expand Up @@ -57,6 +58,9 @@
/* End PBXCopyFilesBuildPhase section */

/* Begin PBXFileReference section */
02A7AB5C4544449BE84EB25A /* Pods-ACVM.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ACVM.debug.xcconfig"; path = "Target Support Files/Pods-ACVM/Pods-ACVM.debug.xcconfig"; sourceTree = "<group>"; };
1978F9AFBE672B763161F8B2 /* Pods_ACVM.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_ACVM.framework; sourceTree = BUILT_PRODUCTS_DIR; };
C4F993756CA48707ED838C96 /* Pods-ACVM.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ACVM.release.xcconfig"; path = "Target Support Files/Pods-ACVM/Pods-ACVM.release.xcconfig"; sourceTree = "<group>"; };
CC032B5E2574D9A6002CE035 /* ACVM.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = ACVM.app; sourceTree = BUILT_PRODUCTS_DIR; };
CC032B612574D9A6002CE035 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
CC032B632574D9A6002CE035 /* VMConfigVC.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = VMConfigVC.swift; sourceTree = "<group>"; };
Expand All @@ -82,6 +86,7 @@
FB3E916E2584518200A18195 /* ConfigTVC.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ConfigTVC.swift; sourceTree = "<group>"; };
FB57FBEA258198710036073E /* VirtualMachine.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = VirtualMachine.swift; sourceTree = "<group>"; };
FB678E342581DFC100573606 /* qemu-img */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.executable"; path = "qemu-img"; sourceTree = "<group>"; };
FB7466642585E64B0074730A /* appcast.xml */ = {isa = PBXFileReference; lastKnownFileType = text.xml; path = appcast.xml; sourceTree = "<group>"; };
FB8815F5257F2F63003147DB /* MainWC.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MainWC.swift; sourceTree = "<group>"; };
FBA80F2925804268005580AE /* MainVC.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MainVC.swift; sourceTree = "<group>"; };
FBF26468258493A50010129F /* TCPClient.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TCPClient.swift; sourceTree = "<group>"; };
Expand All @@ -92,19 +97,40 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
B633E36EB39ED956691F1478 /* Pods_ACVM.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */

/* Begin PBXGroup section */
0D85BD8F85AF1781EC53E565 /* Pods */ = {
isa = PBXGroup;
children = (
02A7AB5C4544449BE84EB25A /* Pods-ACVM.debug.xcconfig */,
C4F993756CA48707ED838C96 /* Pods-ACVM.release.xcconfig */,
);
path = Pods;
sourceTree = "<group>";
};
363E548E6E6BAD80DA088628 /* Frameworks */ = {
isa = PBXGroup;
children = (
1978F9AFBE672B763161F8B2 /* Pods_ACVM.framework */,
);
name = Frameworks;
sourceTree = "<group>";
};
CC032B552574D9A6002CE035 = {
isa = PBXGroup;
children = (
FB7466642585E64B0074730A /* appcast.xml */,
FBF26468258493A50010129F /* TCPClient.swift */,
CC032B862574EAC7002CE035 /* Dylibs */,
CC032B602574D9A6002CE035 /* ACVM */,
CC032B5F2574D9A6002CE035 /* Products */,
0D85BD8F85AF1781EC53E565 /* Pods */,
363E548E6E6BAD80DA088628 /* Frameworks */,
);
sourceTree = "<group>";
};
Expand Down Expand Up @@ -179,10 +205,12 @@
isa = PBXNativeTarget;
buildConfigurationList = CC032B6E2574D9A7002CE035 /* Build configuration list for PBXNativeTarget "ACVM" */;
buildPhases = (
A64595D829F4BA8F6D431F6F /* [CP] Check Pods Manifest.lock */,
CC032B5A2574D9A6002CE035 /* Sources */,
CC032B5B2574D9A6002CE035 /* Frameworks */,
CC032B5C2574D9A6002CE035 /* Resources */,
CC032B9B2574EADD002CE035 /* Embed Libraries */,
2B1DB7C9E6E996DC06980F1A /* [CP] Embed Pods Frameworks */,
);
buildRules = (
);
Expand Down Expand Up @@ -241,6 +269,48 @@
};
/* End PBXResourcesBuildPhase section */

/* Begin PBXShellScriptBuildPhase section */
2B1DB7C9E6E996DC06980F1A /* [CP] Embed Pods Frameworks */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-ACVM/Pods-ACVM-frameworks-${CONFIGURATION}-input-files.xcfilelist",
);
name = "[CP] Embed Pods Frameworks";
outputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-ACVM/Pods-ACVM-frameworks-${CONFIGURATION}-output-files.xcfilelist",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-ACVM/Pods-ACVM-frameworks.sh\"\n";
showEnvVarsInLog = 0;
};
A64595D829F4BA8F6D431F6F /* [CP] Check Pods Manifest.lock */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
);
inputPaths = (
"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
"${PODS_ROOT}/Manifest.lock",
);
name = "[CP] Check Pods Manifest.lock";
outputFileListPaths = (
);
outputPaths = (
"$(DERIVED_FILE_DIR)/Pods-ACVM-checkManifestLockResult.txt",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
showEnvVarsInLog = 0;
};
/* End PBXShellScriptBuildPhase section */

/* Begin PBXSourcesBuildPhase section */
CC032B5A2574D9A6002CE035 /* Sources */ = {
isa = PBXSourcesBuildPhase;
Expand Down Expand Up @@ -392,17 +462,22 @@
};
CC032B6F2574D9A7002CE035 /* Debug */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 02A7AB5C4544449BE84EB25A /* Pods-ACVM.debug.xcconfig */;
buildSettings = {
ARCHS = arm64;
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_ENTITLEMENTS = ACVM/ACVM.entitlements;
CODE_SIGN_IDENTITY = "-";
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 2;
DEVELOPMENT_TEAM = "";
DEVELOPMENT_TEAM = LYYD96F2J8;
ENABLE_HARDENED_RUNTIME = YES;
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
"$(PROJECT_DIR)/Frameworks",
);
INFOPLIST_FILE = ACVM/Info.plist;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
Expand All @@ -422,17 +497,22 @@
};
CC032B702574D9A7002CE035 /* Release */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = C4F993756CA48707ED838C96 /* Pods-ACVM.release.xcconfig */;
buildSettings = {
ARCHS = arm64;
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_ENTITLEMENTS = ACVM/ACVM.entitlements;
CODE_SIGN_IDENTITY = "-";
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 2;
DEVELOPMENT_TEAM = "";
DEVELOPMENT_TEAM = LYYD96F2J8;
ENABLE_HARDENED_RUNTIME = YES;
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
"$(PROJECT_DIR)/Frameworks",
);
INFOPLIST_FILE = ACVM/Info.plist;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
Expand Down
10 changes: 10 additions & 0 deletions ACVM.xcworkspace/contents.xcworkspacedata

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions ACVM.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IDEDidComputeMac32BitWarning</key>
<true/>
</dict>
</plist>
7 changes: 7 additions & 0 deletions ACVM/Base.lproj/Main.storyboard
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@
</menuItem>
<menuItem isSeparatorItem="YES" id="VOq-y0-SEH"/>
<menuItem title="Preferences…" keyEquivalent="," id="BOF-NM-1cW"/>
<menuItem title="Check for Updates..." id="b34-Pd-lnt">
<modifierMask key="keyEquivalentModifierMask"/>
<connections>
<action selector="checkForUpdates:" target="hcf-IT-IZQ" id="tOO-VJ-ngn"/>
</connections>
</menuItem>
<menuItem isSeparatorItem="YES" id="wFC-TO-SCJ"/>
<menuItem title="Services" id="NMo-om-nkz">
<modifierMask key="keyEquivalentModifierMask"/>
Expand Down Expand Up @@ -397,6 +403,7 @@
<customObject id="Voe-Tx-rLC" customClass="AppDelegate" customModule="ACVM" customModuleProvider="target"/>
<customObject id="YLy-65-1bz" customClass="NSFontManager"/>
<customObject id="Ady-hI-5gd" userLabel="First Responder" customClass="NSResponder" sceneMemberID="firstResponder"/>
<customObject id="hcf-IT-IZQ" customClass="SUUpdater"/>
</objects>
<point key="canvasLocation" x="-734" y="-49"/>
</scene>
Expand Down
8 changes: 6 additions & 2 deletions ACVM/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
<key>CFBundlePackageType</key>
<string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
<key>CFBundleShortVersionString</key>
<string>$(MARKETING_VERSION)</string>
<string>1.1</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<string>11</string>
<key>LSMinimumSystemVersion</key>
<string>$(MACOSX_DEPLOYMENT_TARGET)</string>
<key>NSHumanReadableCopyright</key>
Expand All @@ -28,5 +28,9 @@
<string>Main</string>
<key>NSPrincipalClass</key>
<string>NSApplication</string>
<key>SUFeedURL</key>
<string>https://raw.githubusercontent.com/ubenmackin/ACVM/main/appcast.xml</string>
<key>SUPublicEDKey</key>
<string>RMOvLgK3vUqSfBBZoAJvqfna/lwcrnCnQNRzSvS6gY8=</string>
</dict>
</plist>
11 changes: 11 additions & 0 deletions Podfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Uncomment the next line to define a global platform for your project
# platform :ios, '9.0'

target 'ACVM' do
# Comment the next line if you don't want to use dynamic frameworks
use_frameworks!

# Pods for ACVM
pod 'Sparkle'

end
16 changes: 16 additions & 0 deletions Podfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
PODS:
- Sparkle (1.24.0)

DEPENDENCIES:
- Sparkle

SPEC REPOS:
trunk:
- Sparkle

SPEC CHECKSUMS:
Sparkle: 270cd27377bf04e9c128af06e3a22d0f572d6ee3

PODFILE CHECKSUM: 4cd8a11aa84d15a4fc854ecb63708434b636d32d

COCOAPODS: 1.10.0
16 changes: 16 additions & 0 deletions Pods/Manifest.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 3892e2b

Please sign in to comment.