♻️ Update platform specific code & resources
@ -1,6 +1,6 @@
|
|||||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
<application
|
<application
|
||||||
android:label="surface"
|
android:label="Solian"
|
||||||
android:name="${applicationName}"
|
android:name="${applicationName}"
|
||||||
android:icon="@mipmap/ic_launcher">
|
android:icon="@mipmap/ic_launcher">
|
||||||
<activity
|
<activity
|
||||||
|
@ -102,8 +102,6 @@ PODS:
|
|||||||
- Flutter (1.0.0)
|
- Flutter (1.0.0)
|
||||||
- flutter_native_splash (2.4.3):
|
- flutter_native_splash (2.4.3):
|
||||||
- Flutter
|
- Flutter
|
||||||
- flutter_secure_storage (6.0.0):
|
|
||||||
- Flutter
|
|
||||||
- flutter_udid (0.0.1):
|
- flutter_udid (0.0.1):
|
||||||
- Flutter
|
- Flutter
|
||||||
- SAMKeychain
|
- SAMKeychain
|
||||||
@ -215,7 +213,6 @@ DEPENDENCIES:
|
|||||||
- firebase_messaging (from `.symlinks/plugins/firebase_messaging/ios`)
|
- firebase_messaging (from `.symlinks/plugins/firebase_messaging/ios`)
|
||||||
- Flutter (from `Flutter`)
|
- Flutter (from `Flutter`)
|
||||||
- flutter_native_splash (from `.symlinks/plugins/flutter_native_splash/ios`)
|
- flutter_native_splash (from `.symlinks/plugins/flutter_native_splash/ios`)
|
||||||
- flutter_secure_storage (from `.symlinks/plugins/flutter_secure_storage/ios`)
|
|
||||||
- flutter_udid (from `.symlinks/plugins/flutter_udid/ios`)
|
- flutter_udid (from `.symlinks/plugins/flutter_udid/ios`)
|
||||||
- image_picker_ios (from `.symlinks/plugins/image_picker_ios/ios`)
|
- image_picker_ios (from `.symlinks/plugins/image_picker_ios/ios`)
|
||||||
- isar_flutter_libs (from `.symlinks/plugins/isar_flutter_libs/ios`)
|
- isar_flutter_libs (from `.symlinks/plugins/isar_flutter_libs/ios`)
|
||||||
@ -272,8 +269,6 @@ EXTERNAL SOURCES:
|
|||||||
:path: Flutter
|
:path: Flutter
|
||||||
flutter_native_splash:
|
flutter_native_splash:
|
||||||
:path: ".symlinks/plugins/flutter_native_splash/ios"
|
:path: ".symlinks/plugins/flutter_native_splash/ios"
|
||||||
flutter_secure_storage:
|
|
||||||
:path: ".symlinks/plugins/flutter_secure_storage/ios"
|
|
||||||
flutter_udid:
|
flutter_udid:
|
||||||
:path: ".symlinks/plugins/flutter_udid/ios"
|
:path: ".symlinks/plugins/flutter_udid/ios"
|
||||||
image_picker_ios:
|
image_picker_ios:
|
||||||
@ -325,7 +320,6 @@ SPEC CHECKSUMS:
|
|||||||
FirebaseMessaging: f8a160d99c2c2e5babbbcc90c4a3e15db036aee2
|
FirebaseMessaging: f8a160d99c2c2e5babbbcc90c4a3e15db036aee2
|
||||||
Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7
|
Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7
|
||||||
flutter_native_splash: e8a1e01082d97a8099d973f919f57904c925008a
|
flutter_native_splash: e8a1e01082d97a8099d973f919f57904c925008a
|
||||||
flutter_secure_storage: d33dac7ae2ea08509be337e775f6b59f1ff45f12
|
|
||||||
flutter_udid: a2482c67a61b9c806ef59dd82ed8d007f1b7ac04
|
flutter_udid: a2482c67a61b9c806ef59dd82ed8d007f1b7ac04
|
||||||
GoogleAppMeasurement: 987769c4ca6b968f2479fbcc9fe3ce34af454b8e
|
GoogleAppMeasurement: 987769c4ca6b968f2479fbcc9fe3ce34af454b8e
|
||||||
GoogleDataTransport: aae35b7ea0c09004c3797d53c8c41f66f219d6a7
|
GoogleDataTransport: aae35b7ea0c09004c3797d53c8c41f66f219d6a7
|
||||||
|
@ -40,11 +40,11 @@ static void my_application_activate(GApplication* application) {
|
|||||||
if (use_header_bar) {
|
if (use_header_bar) {
|
||||||
GtkHeaderBar* header_bar = GTK_HEADER_BAR(gtk_header_bar_new());
|
GtkHeaderBar* header_bar = GTK_HEADER_BAR(gtk_header_bar_new());
|
||||||
gtk_widget_show(GTK_WIDGET(header_bar));
|
gtk_widget_show(GTK_WIDGET(header_bar));
|
||||||
gtk_header_bar_set_title(header_bar, "surface");
|
gtk_header_bar_set_title(header_bar, "Surface");
|
||||||
gtk_header_bar_set_show_close_button(header_bar, TRUE);
|
gtk_header_bar_set_show_close_button(header_bar, TRUE);
|
||||||
gtk_window_set_titlebar(window, GTK_WIDGET(header_bar));
|
gtk_window_set_titlebar(window, GTK_WIDGET(header_bar));
|
||||||
} else {
|
} else {
|
||||||
gtk_window_set_title(window, "surface");
|
gtk_window_set_title(window, "Surface");
|
||||||
}
|
}
|
||||||
|
|
||||||
gtk_window_set_default_size(window, 1280, 720);
|
gtk_window_set_default_size(window, 1280, 720);
|
||||||
|
@ -1,68 +1,68 @@
|
|||||||
{
|
{
|
||||||
"info": {
|
|
||||||
"version": 1,
|
|
||||||
"author": "xcode"
|
|
||||||
},
|
|
||||||
"images": [
|
"images": [
|
||||||
{
|
{
|
||||||
"size": "16x16",
|
|
||||||
"idiom": "mac",
|
|
||||||
"filename": "app_icon_16.png",
|
"filename": "app_icon_16.png",
|
||||||
"scale": "1x"
|
"idiom": "mac",
|
||||||
|
"scale": "1x",
|
||||||
|
"size": "16x16"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"size": "16x16",
|
|
||||||
"idiom": "mac",
|
|
||||||
"filename": "app_icon_32.png",
|
"filename": "app_icon_32.png",
|
||||||
"scale": "2x"
|
"idiom": "mac",
|
||||||
|
"scale": "2x",
|
||||||
|
"size": "16x16"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"size": "32x32",
|
|
||||||
"idiom": "mac",
|
|
||||||
"filename": "app_icon_32.png",
|
"filename": "app_icon_32.png",
|
||||||
"scale": "1x"
|
"idiom": "mac",
|
||||||
|
"scale": "1x",
|
||||||
|
"size": "32x32"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"size": "32x32",
|
|
||||||
"idiom": "mac",
|
|
||||||
"filename": "app_icon_64.png",
|
"filename": "app_icon_64.png",
|
||||||
"scale": "2x"
|
"idiom": "mac",
|
||||||
|
"scale": "2x",
|
||||||
|
"size": "32x32"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"size": "128x128",
|
|
||||||
"idiom": "mac",
|
|
||||||
"filename": "app_icon_128.png",
|
"filename": "app_icon_128.png",
|
||||||
"scale": "1x"
|
"idiom": "mac",
|
||||||
|
"scale": "1x",
|
||||||
|
"size": "128x128"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"size": "128x128",
|
|
||||||
"idiom": "mac",
|
|
||||||
"filename": "app_icon_256.png",
|
"filename": "app_icon_256.png",
|
||||||
"scale": "2x"
|
"idiom": "mac",
|
||||||
|
"scale": "2x",
|
||||||
|
"size": "128x128"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"size": "256x256",
|
|
||||||
"idiom": "mac",
|
|
||||||
"filename": "app_icon_256.png",
|
"filename": "app_icon_256.png",
|
||||||
"scale": "1x"
|
"idiom": "mac",
|
||||||
|
"scale": "1x",
|
||||||
|
"size": "256x256"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"size": "256x256",
|
|
||||||
"idiom": "mac",
|
|
||||||
"filename": "app_icon_512.png",
|
"filename": "app_icon_512.png",
|
||||||
"scale": "2x"
|
"idiom": "mac",
|
||||||
|
"scale": "2x",
|
||||||
|
"size": "256x256"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"size": "512x512",
|
|
||||||
"idiom": "mac",
|
|
||||||
"filename": "app_icon_512.png",
|
"filename": "app_icon_512.png",
|
||||||
"scale": "1x"
|
"idiom": "mac",
|
||||||
|
"scale": "1x",
|
||||||
|
"size": "512x512"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"size": "512x512",
|
|
||||||
"idiom": "mac",
|
|
||||||
"filename": "app_icon_1024.png",
|
"filename": "app_icon_1024.png",
|
||||||
"scale": "2x"
|
"idiom": "mac",
|
||||||
|
"scale": "2x",
|
||||||
|
"size": "512x512"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"info": {
|
||||||
|
"author": "icons_launcher",
|
||||||
|
"version": 1
|
||||||
}
|
}
|
||||||
]
|
|
||||||
}
|
}
|
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 132 KiB |
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 7.6 KiB |
Before Width: | Height: | Size: 315 B After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 6.5 KiB After Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 683 B After Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 50 KiB |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 3.8 KiB |
@ -167,13 +167,13 @@ icons_launcher:
|
|||||||
image_path: "assets/icon/icon-light-radius.png"
|
image_path: "assets/icon/icon-light-radius.png"
|
||||||
favicon_path: "assets/icon/icon-light-radius.png"
|
favicon_path: "assets/icon/icon-light-radius.png"
|
||||||
macos:
|
macos:
|
||||||
enable: false
|
enable: true
|
||||||
image_path: "assets/icon/icon-light-radius-mac.png"
|
image_path: "assets/icon/icon-light-radius-mac.png"
|
||||||
windows:
|
windows:
|
||||||
enable: false
|
enable: true
|
||||||
image_path: "assets/icon/icon-light-radius.png"
|
image_path: "assets/icon/icon-light-radius.png"
|
||||||
linux:
|
linux:
|
||||||
enable: false
|
enable: true
|
||||||
image_path: "assets/icon/icon-light-radius.png"
|
image_path: "assets/icon/icon-light-radius.png"
|
||||||
|
|
||||||
flutter_native_splash:
|
flutter_native_splash:
|
||||||
|
8
snap/gui/app_icon.desktop
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Name=Flutter Linux App
|
||||||
|
Comment=Flutter Linux launcher icon
|
||||||
|
Exec=app_icon
|
||||||
|
Icon=app_icon.png
|
||||||
|
Terminal=false
|
||||||
|
Type=Application
|
||||||
|
Categories=Entertainment;
|
BIN
snap/gui/app_icon.png
Normal file
After Width: | Height: | Size: 9.7 KiB |
@ -27,7 +27,7 @@ int APIENTRY wWinMain(_In_ HINSTANCE instance, _In_opt_ HINSTANCE prev,
|
|||||||
FlutterWindow window(project);
|
FlutterWindow window(project);
|
||||||
Win32Window::Point origin(10, 10);
|
Win32Window::Point origin(10, 10);
|
||||||
Win32Window::Size size(1280, 720);
|
Win32Window::Size size(1280, 720);
|
||||||
if (!window.Create(L"surface", origin, size)) {
|
if (!window.Create(L"Surface", origin, size)) {
|
||||||
return EXIT_FAILURE;
|
return EXIT_FAILURE;
|
||||||
}
|
}
|
||||||
window.SetQuitOnClose(true);
|
window.SetQuitOnClose(true);
|
||||||
|
Before Width: | Height: | Size: 6.6 KiB After Width: | Height: | Size: 25 KiB |