Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.

Commit

Permalink
Prepare release
Browse files Browse the repository at this point in the history
  • Loading branch information
heyvito committed Sep 4, 2021
1 parent 20cefb4 commit 12d63d0
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 2 deletions.
25 changes: 25 additions & 0 deletions Podman.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@
DA618A8F26E1233A000AB06C /* Frameworks */,
DA618A9026E1233A000AB06C /* Resources */,
DA60FC6626E3146200756E30 /* CopyFiles */,
DA4D5B9E26E331E8008E3091 /* ShellScript */,
);
buildRules = (
);
Expand Down Expand Up @@ -245,6 +246,26 @@
};
/* End PBXResourcesBuildPhase section */

/* Begin PBXShellScriptBuildPhase section */
DA4D5B9E26E331E8008E3091 /* ShellScript */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
);
inputPaths = (
);
outputFileListPaths = (
);
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "DATE=`date -u \"+%s\"`\n/usr/libexec/PlistBuddy -c \"Set :CFBundleVersion $DATE\" \"${TARGET_BUILD_DIR}/${INFOPLIST_PATH}\"\n";
};
/* End PBXShellScriptBuildPhase section */

/* Begin PBXSourcesBuildPhase section */
DA618A8E26E1233A000AB06C /* Sources */ = {
isa = PBXSourcesBuildPhase;
Expand Down Expand Up @@ -316,6 +337,8 @@
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CODE_SIGN_IDENTITY = "Mac Developer";
CODE_SIGN_STYLE = Automatic;
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = dwarf;
ENABLE_STRICT_OBJC_MSGSEND = YES;
Expand Down Expand Up @@ -375,6 +398,8 @@
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CODE_SIGN_IDENTITY = "Mac Developer";
CODE_SIGN_STYLE = Automatic;
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
ENABLE_NS_ASSERTIONS = NO;
Expand Down
3 changes: 2 additions & 1 deletion Podman/AppDelegate.m
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,12 @@ - (void)ensureSingleInstance {
NSArray *appArray = [NSRunningApplication runningApplicationsWithBundleIdentifier:[[NSBundle mainBundle] bundleIdentifier]];
for (NSRunningApplication *app in appArray) {
if ([app processIdentifier] != selfPid) {
NSLog(@"Killing itself since PID %d is already running", [app processIdentifier]);
[NSApp terminate:nil];
break;
}
}
NSLog(@"Passed ensureSingleInstance");
}


Expand All @@ -48,7 +50,6 @@ - (void)applicationWillFinishLaunching:(NSNotification *)notification {
- (void)applicationDidFinishLaunching:(NSNotification *)aNotification {
SUUpdater *updater = [SUUpdater sharedUpdater];
updater.automaticallyChecksForUpdates = PMPreferences.checkForUpdates;
updater.feedURL = [NSURL URLWithString:@"https://heyvito.github.io/podman-macos/sparkle.xml"];

PMOperationResult *detectPodmanResult = [PMManager.manager detectPodman];
switch ([detectPodmanResult detectStateValue]) {
Expand Down
2 changes: 2 additions & 0 deletions Podman/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,7 @@
<true/>
<key>NSPrincipalClass</key>
<string>PMApplication</string>
<key>SUFeedURL</key>
<string>https://raw.github.com/heyvito/podman-macos/gh-pages/appcast.xml</string>
</dict>
</plist>
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ any problem.

## TODO

- [ ] Provide Notarized binaries
- [x] Provide Notarized binaries
- [ ] Add support to Apple M1

## Acknowledgements
Expand Down

0 comments on commit 12d63d0

Please sign in to comment.