ipad icon

This commit is contained in:
wanghongenpin
2024-06-24 16:22:05 +08:00
parent 612e6e8c27
commit 13b6d8f010
4 changed files with 17 additions and 2 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.1 KiB

View File

@@ -72,6 +72,18 @@
"scale": "3x",
"size": "60x60"
},
{
"filename": "AppIcon@2x~ipad.png",
"idiom": "ipad",
"scale": "2x",
"size": "76x76"
},
{
"filename": "AppIcon-83.5@2x~ipad.png",
"idiom": "ipad",
"scale": "2x",
"size": "83.5x83.5"
},
{
"filename": "AppIcon~ios-marketing.png",
"idiom": "ios-marketing",

View File

@@ -44,10 +44,13 @@ void main(List<String> args) async {
size: windowSize,
center: true,
titleBarStyle: Platform.isMacOS ? TitleBarStyle.hidden : TitleBarStyle.normal);
Offset? windowPosition = appConfiguration.windowPosition;
windowManager.waitUntilReadyToShow(windowOptions, () async {
if (appConfiguration.windowPosition != null) {
await windowManager.setPosition(appConfiguration.windowPosition!);
if (windowPosition != null) {
await windowManager.setPosition(windowPosition);
}
await windowManager.show();
await windowManager.focus();
});