how to change appInfo in SwiftUI?

I build an app with SwiftUI and want to customized "About App" window,
How can I achieve that ?

I try the following way, but not works.

Code Block swift
     .commands {
      CommandGroup(replacing: .appInfo) {
        // Disable New Window, we don't need it.
        Button(action: {
          AboutView()
        }, label: {
          Text("About MyAPP")
        })
      }


@Environment(\.openWindow) var openWindow
Window("About", id: "about") {
    MyAboutView()
}
.commands {
    CommandGroup(replacing: .appInfo) {
        Button(action: {
            openWindow(id: "about")
        }, label: {
            Text("About MyAPP")
        })
    }
}
how to change appInfo in SwiftUI?
 
 
Q