check macos
This commit is contained in:
14
.github/workflows/build.yml
vendored
14
.github/workflows/build.yml
vendored
@@ -60,9 +60,9 @@ jobs:
|
|||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- platform: android-apk
|
# - platform: android-apk
|
||||||
os: ubuntu-latest
|
# os: ubuntu-latest
|
||||||
targets: apk
|
# targets: apk
|
||||||
|
|
||||||
# - platform: android-aab
|
# - platform: android-aab
|
||||||
# os: ubuntu-latest
|
# os: ubuntu-latest
|
||||||
@@ -78,10 +78,10 @@ jobs:
|
|||||||
# aarch: amd64
|
# aarch: amd64
|
||||||
# targets: AppImage,deb,rpm
|
# targets: AppImage,deb,rpm
|
||||||
|
|
||||||
# - platform: macos
|
- platform: macos
|
||||||
# os: macos-13
|
os: macos-13
|
||||||
# aarch: universal
|
aarch: universal
|
||||||
# targets: dmg,pkg
|
targets: dmg,pkg
|
||||||
|
|
||||||
# - platform: ios
|
# - platform: ios
|
||||||
# os: macos-14
|
# os: macos-14
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ class AppDelegate: FlutterAppDelegate {
|
|||||||
// https://github.com/leanflutter/window_manager/issues/214
|
// https://github.com/leanflutter/window_manager/issues/214
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
func applicationDidFinishLaunching(_ aNotification: Notification) {
|
override func applicationDidFinishLaunching(_ aNotification: Notification) {
|
||||||
// Request notification authorization
|
// Request notification authorization
|
||||||
UNUserNotificationCenter.current().requestAuthorization(options: [.alert, .badge]) { granted, error in
|
UNUserNotificationCenter.current().requestAuthorization(options: [.alert, .badge]) { granted, error in
|
||||||
if let error = error {
|
if let error = error {
|
||||||
|
|||||||
Reference in New Issue
Block a user