Skip to content

Commit

Permalink
3.2.2beta1
Browse files Browse the repository at this point in the history
  • Loading branch information
glouel committed Jan 7, 2023
1 parent 405bc24 commit 839602e
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
8 changes: 4 additions & 4 deletions Aerial.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -3265,15 +3265,15 @@
CODE_SIGN_IDENTITY = "Developer ID Application";
CODE_SIGN_STYLE = Manual;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 3.2.2;
CURRENT_PROJECT_VERSION = 3.2.2beta1;
DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = 3L54M5L5KK;
ENABLE_HARDENED_RUNTIME = YES;
INFOPLIST_FILE = "$(SRCROOT)/Resources/Old stuff/Info.plist";
INSTALL_PATH = "$(HOME)/Library/Screen Savers";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/../Frameworks";
MACOSX_DEPLOYMENT_TARGET = 10.13;
MARKETING_VERSION = 3.2.2;
MARKETING_VERSION = 3.2.2beta1;
PRODUCT_BUNDLE_IDENTIFIER = com.johncoates.Aerial;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand All @@ -3294,15 +3294,15 @@
CODE_SIGN_IDENTITY = "Developer ID Application";
CODE_SIGN_STYLE = Manual;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 3.2.2;
CURRENT_PROJECT_VERSION = 3.2.2beta1;
DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = 3L54M5L5KK;
ENABLE_HARDENED_RUNTIME = YES;
INFOPLIST_FILE = "$(SRCROOT)/Resources/Old stuff/Info.plist";
INSTALL_PATH = "$(HOME)/Library/Screen Savers";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/../Frameworks";
MACOSX_DEPLOYMENT_TARGET = 10.13;
MARKETING_VERSION = 3.2.2;
MARKETING_VERSION = 3.2.2beta1;
OTHER_CODE_SIGN_FLAGS = "--timestamp";
PRODUCT_BUNDLE_IDENTIFIER = com.johncoates.Aerial;
PRODUCT_NAME = "$(TARGET_NAME)";
Expand Down
2 changes: 1 addition & 1 deletion Aerial/Source/Models/Cache/PoiStringProvider.swift
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ final class PoiStringProvider {
}

if let sb = Bundle.init(path: bundlePath) {
let dictPath = Cache.supportPath.appending("/tvOS 13/TVIdleScreenStrings.bundle/en.lproj/Localizable.nocache.strings")
let dictPath = Cache.supportPath.appending("/tvOS 16/TVIdleScreenStrings.bundle/en.lproj/Localizable.nocache.strings")

// We could probably only work with that...
if let sd = NSDictionary(contentsOfFile: dictPath) as? [String: String] {
Expand Down
6 changes: 6 additions & 0 deletions Aerial/Source/Views/Layers/TimerLayer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -92,12 +92,18 @@ class TimerLayer: AnimationTextLayer {
if Date() > endTime! && PrefsInfo.timer.disableWhenElapsed {
// Disabling for next launch
PrefsInfo.timer.isEnabled = false
}


if Date() > endTime! {
// We may show a message when the timer is elapsed
if PrefsInfo.timer.replaceWithMessage {
return PrefsInfo.timer.customMessage
}
}




return dateComponentsFormatter.string(from: Date(), to: endTime!) ?? ""
} else {
Expand Down

0 comments on commit 839602e

Please sign in to comment.