Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
appfairz committed Dec 24, 2022
1 parent 21be984 commit 68b2590
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Sources/App/AppCatalog.swift
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ import FairApp
import SwiftUI

extension AppCatalogItem {
var releasedVersion: AppVersion? {
version.flatMap({ AppVersion(string: $0) })
var releasedVersion: SemVer? {
version.flatMap({ SemVer(string: $0) })
}

/// A relative score summarizing how risky the app appears to be from a scale of 0–5
Expand Down
2 changes: 1 addition & 1 deletion Sources/App/Inventory/AppSourceInventory.swift
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ extension AppSourceInventory {

// if the release version is greater than the installed version, download and install it automatically
// let installedCatalogVersion = installedVersion(for: catalogApp.id) // we should use the currently-running version as the authoritative version for checking
let installedCatalogVersion = catalogAppBundle.bundleVersionString.flatMap { AppVersion(string: $0) }
let installedCatalogVersion = catalogAppBundle.bundleVersionString.flatMap { SemVer(string: $0) }

dbg("checking catalog app update from installed version:", installedCatalogVersion?.versionString, "to:", catalogApp.app.releasedVersion?.versionString, "at:", catalogAppBundle.bundleURL.path)

Expand Down
2 changes: 1 addition & 1 deletion appfair.xcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ PRODUCT_BUNDLE_IDENTIFIER = app.App-Fair
MARKETING_VERSION = 0.8.141

// The monotonically increasing number specifying the internal app version
CURRENT_PROJECT_VERSION = 970
CURRENT_PROJECT_VERSION = 971

// The category of the app should be one of: public.app-category.business, developer-tools, education, entertainment, finance, games, graphics-design, healthcare-fitness, lifestyle, medical, music, news, photography, productivity, reference, social-networking, sports, travel, utilities, video, weather
APP_CATEGORY = public.app-category.utilities
Expand Down

0 comments on commit 68b2590

Please sign in to comment.