mirror of
https://github.com/wanghongenpin/proxypin.git
synced 2026-05-18 16:06:50 +08:00
ipad icon
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 8.1 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 7.1 KiB |
@@ -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",
|
||||
|
||||
@@ -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();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user