From 3af22035fedbed32e52f78a490dbf10cad22a927 Mon Sep 17 00:00:00 2001 From: Charlie Gleason Date: Sun, 11 Apr 2021 18:29:19 +0100 Subject: [PATCH] Fixes for 0.0.11-beta2 --- LICENSE.md | 4 ++-- Pika.xcodeproj/project.pbxproj | 8 ++++---- Pika/AppDelegate.swift | 4 ++-- Pika/Info.plist | 2 +- Pika/Utilities/PikaWindow.swift | 3 ++- 5 files changed, 11 insertions(+), 10 deletions(-) diff --git a/LICENSE.md b/LICENSE.md index abb7661..571ef92 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2020 Charlie Gleason +Copyright (c) 2021 Charlie Gleason Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. \ No newline at end of file +SOFTWARE. diff --git a/Pika.xcodeproj/project.pbxproj b/Pika.xcodeproj/project.pbxproj index c2beceb..87b7e2b 100644 --- a/Pika.xcodeproj/project.pbxproj +++ b/Pika.xcodeproj/project.pbxproj @@ -596,7 +596,7 @@ CODE_SIGN_IDENTITY = "Apple Development"; CODE_SIGN_STYLE = Automatic; COMBINE_HIDPI_IMAGES = YES; - CURRENT_PROJECT_VERSION = 19; + CURRENT_PROJECT_VERSION = 20; DEVELOPMENT_ASSET_PATHS = "\"Pika/Preview Content\""; DEVELOPMENT_TEAM = TGHU37N6EX; ENABLE_HARDENED_RUNTIME = YES; @@ -607,7 +607,7 @@ "@executable_path/../Frameworks", ); MACOSX_DEPLOYMENT_TARGET = 10.15; - MARKETING_VERSION = "0.0.11-beta1"; + MARKETING_VERSION = "0.0.11-beta2"; PRODUCT_BUNDLE_IDENTIFIER = com.superhighfives.Pika; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_VERSION = 5.0; @@ -623,7 +623,7 @@ CODE_SIGN_IDENTITY = "Apple Development"; CODE_SIGN_STYLE = Automatic; COMBINE_HIDPI_IMAGES = YES; - CURRENT_PROJECT_VERSION = 19; + CURRENT_PROJECT_VERSION = 20; DEVELOPMENT_ASSET_PATHS = "\"Pika/Preview Content\""; DEVELOPMENT_TEAM = TGHU37N6EX; ENABLE_HARDENED_RUNTIME = YES; @@ -634,7 +634,7 @@ "@executable_path/../Frameworks", ); MACOSX_DEPLOYMENT_TARGET = 10.15; - MARKETING_VERSION = "0.0.11-beta1"; + MARKETING_VERSION = "0.0.11-beta2"; PRODUCT_BUNDLE_IDENTIFIER = com.superhighfives.Pika; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_VERSION = 5.0; diff --git a/Pika/AppDelegate.swift b/Pika/AppDelegate.swift index 618222a..8db3338 100644 --- a/Pika/AppDelegate.swift +++ b/Pika/AppDelegate.swift @@ -47,8 +47,8 @@ class AppDelegate: NSObject, NSApplicationDelegate, NSMenuDelegate { .frame(minWidth: 450, idealWidth: 450, maxWidth: 550, - minHeight: 200, - idealHeight: 220, + minHeight: 230, + idealHeight: 230, maxHeight: 360, alignment: .center) diff --git a/Pika/Info.plist b/Pika/Info.plist index 36575ca..1a1bf74 100644 --- a/Pika/Info.plist +++ b/Pika/Info.plist @@ -27,7 +27,7 @@ LSUIElement NSHumanReadableCopyright - Copyright © 2020 Charlie Gleason, under the MIT License + Copyright © 2021 Charlie Gleason, under the MIT License NSMainStoryboardFile Main NSPrincipalClass diff --git a/Pika/Utilities/PikaWindow.swift b/Pika/Utilities/PikaWindow.swift index 0113cfa..70c83e3 100644 --- a/Pika/Utilities/PikaWindow.swift +++ b/Pika/Utilities/PikaWindow.swift @@ -6,7 +6,8 @@ class PikaWindow { let window = NSWindow( contentRect: NSRect(x: 0, y: 0, width: 380, height: 150), styleMask: [.titled, .closable, .miniaturizable, .resizable], - backing: .buffered, defer: false + backing: .buffered, + defer: false ) window.isReleasedWhenClosed = false window.center()