diff --git a/Assets/Info.plist b/Assets/Info.plist index 4dd70f8..fd37aa9 100644 --- a/Assets/Info.plist +++ b/Assets/Info.plist @@ -22,9 +22,9 @@ CFBundlePackageType APPL CFBundleShortVersionString - 1.3.0 + 1.3.1 CFBundleVersion - 18 + 19 LSMinimumSystemVersion 14.0 LSUIElement diff --git a/CHANGELOG.md b/CHANGELOG.md index 240ee2b..440ebe5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,13 @@ All notable changes to this project are documented here. ## [Unreleased] +## [1.3.1] - 2026-09-25 + +### Fixed + +- On a Mac where Encaje is already set up, launching it no longer flashes the setup window and the welcome for a few seconds. +- The setup window's spacing is balanced: less empty space above the icon and more room under "Set up later". + ## [1.3.0] - 2026-09-25 ### Changed diff --git a/Sources/EncajeApp/EncajeApp.swift b/Sources/EncajeApp/EncajeApp.swift index e14de9b..59abe3b 100644 --- a/Sources/EncajeApp/EncajeApp.swift +++ b/Sources/EncajeApp/EncajeApp.swift @@ -76,6 +76,7 @@ final class AppDelegate: NSObject, NSApplicationDelegate, NSWindowDelegate, NSMe NSWorkspace.shared.notificationCenter.addObserver( self, selector: #selector(workspaceActivated), name: NSWorkspace.didActivateApplicationNotification, object: nil) + model.refresh() permissionFlow.presentIfNeeded() if ProcessInfo.processInfo.environment["ENCAJE_SHOW_SETTINGS"] == "1" { showSettings() } if ProcessInfo.processInfo.environment["ENCAJE_SHOW_POPOVER"] == "1" { toggleMenuPopover() } diff --git a/Sources/EncajeApp/PermissionFlow/PermissionFlowWindow.swift b/Sources/EncajeApp/PermissionFlow/PermissionFlowWindow.swift index 8275f7b..e11108f 100644 --- a/Sources/EncajeApp/PermissionFlow/PermissionFlowWindow.swift +++ b/Sources/EncajeApp/PermissionFlow/PermissionFlowWindow.swift @@ -184,8 +184,7 @@ public struct PermissionFlowScreen: View { if welcome { PermissionFlowWelcomeView(model: model, onDone: finish) .padding(.horizontal, 32) - .padding(.top, 34) - .padding(.bottom, 26) + .padding(.bottom, 30) .transition( .asymmetric(insertion: .opacity.combined(with: .scale(scale: 0.96)), removal: .opacity)) } else { @@ -195,6 +194,7 @@ public struct PermissionFlowScreen: View { } .frame(width: PermissionFlowWindowController.width) .frame(height: height) + .ignoresSafeArea(.container, edges: .top) .onAppear { if height != nil && model.ready { welcome = true } appeared = true @@ -249,7 +249,7 @@ public struct PermissionFlowScreen: View { .multilineTextAlignment(.center) .fixedSize(horizontal: false, vertical: true) } - .padding(.top, 30) + .padding(.top, 28) PermissionFlowChecklist(model: model, sourceFrame: sourceFrame) .padding(.top, 22) if let note = model.configuration.note { @@ -269,7 +269,7 @@ public struct PermissionFlowScreen: View { .contentShape(Rectangle()) } .padding(.horizontal, 28) - .padding(.bottom, 18) + .padding(.bottom, 24) } }