diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 55958e8c..a6492858 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -60,9 +60,9 @@ jobs: fail-fast: false matrix: include: - - platform: android-apk - os: ubuntu-latest - targets: apk + # - platform: android-apk + # os: ubuntu-latest + # targets: apk # - platform: android-aab # os: ubuntu-latest @@ -78,10 +78,10 @@ jobs: # aarch: amd64 # targets: AppImage,deb,rpm - # - platform: macos - # os: macos-13 - # aarch: universal - # targets: dmg,pkg + - platform: macos + os: macos-13 + aarch: universal + targets: dmg,pkg # - platform: ios # os: macos-14 diff --git a/macos/Runner/AppDelegate.swift b/macos/Runner/AppDelegate.swift index a4e2fca6..a60087d1 100644 --- a/macos/Runner/AppDelegate.swift +++ b/macos/Runner/AppDelegate.swift @@ -8,7 +8,7 @@ class AppDelegate: FlutterAppDelegate { // https://github.com/leanflutter/window_manager/issues/214 return false } - func applicationDidFinishLaunching(_ aNotification: Notification) { + override func applicationDidFinishLaunching(_ aNotification: Notification) { // Request notification authorization UNUserNotificationCenter.current().requestAuthorization(options: [.alert, .badge]) { granted, error in if let error = error {