Skip to content

Commit

Permalink
14.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
clement2026 committed Aug 5, 2024
1 parent d46e17c commit dc7f0b9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 9 deletions.
4 changes: 2 additions & 2 deletions approf.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -884,7 +884,7 @@
"$(PROJECT_DIR)/approf/Process",
);
MACOSX_DEPLOYMENT_TARGET = 14.0;
MARKETING_VERSION = 14.0;
MARKETING_VERSION = 14.1.0;
PRODUCT_BUNDLE_IDENTIFIER = the.future.app.approf.approf;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_EMIT_LOC_STRINGS = YES;
Expand Down Expand Up @@ -919,7 +919,7 @@
"$(PROJECT_DIR)/approf/Process",
);
MACOSX_DEPLOYMENT_TARGET = 14.0;
MARKETING_VERSION = 14.0;
MARKETING_VERSION = 14.1.0;
PRODUCT_BUNDLE_IDENTIFIER = the.future.app.approf.approf;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_EMIT_LOC_STRINGS = YES;
Expand Down
10 changes: 4 additions & 6 deletions approf/App/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,6 @@ class AppDelegate: NSObject, NSApplicationDelegate {
func applicationDidFinishLaunching(_ notification: Notification) {
log.logLevel = .debug

let urls = FileManager.default.urls(for: .applicationSupportDirectory, in: .localDomainMask)
log.debug("documentDirectory:")
log.debug("\(urls)")

if let window = NSApp.windows.first {
windowController = CustomWindowController(window: window)
windowController?.showWindow(self)
Expand Down Expand Up @@ -85,7 +81,9 @@ private func registerSpotlightSearch3() {
attributeSet.contentDescription = "A native macOS app to view pprof profiles"

let item = CSSearchableItem(uniqueIdentifier: "the.future.app.approf.approf.alternative3", domainIdentifier: nil, attributeSet: attributeSet)
CSSearchableIndex.default().indexSearchableItems([item]) {
print("Finished indexing with \(String(describing: $0))")
CSSearchableIndex.default().indexSearchableItems([item]) { err in
if let err = err {
log.error("CSSearchableIndex.default().indexSearchableItems err: \(err)")
}
}
}
2 changes: 1 addition & 1 deletion approf/Exts.swift
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ func getAppVersion() -> String {
if let version = Bundle.main.infoDictionary?["CFBundleShortVersionString"] as? String,
let build = Bundle.main.infoDictionary?["CFBundleVersion"] as? String
{
return "\(version).\(build)"
return "\(version) (\(build))"
}
return ""
}
Expand Down

0 comments on commit dc7f0b9

Please sign in to comment.