Add msix, translate in french (wip)

This commit is contained in:
Thomas Fransolet 2021-08-25 18:12:49 +02:00
parent e06a5fdeb4
commit 4a516d8d29
5 changed files with 64 additions and 13 deletions

View File

@ -170,15 +170,15 @@ class _ConfigurationDetailScreenState extends State<ConfigurationDetailScreen> {
mainAxisAlignment: MainAxisAlignment.spaceAround, mainAxisAlignment: MainAxisAlignment.spaceAround,
crossAxisAlignment: CrossAxisAlignment.start, crossAxisAlignment: CrossAxisAlignment.start,
children: [ children: [
ColorPickerInputContainer( /*ColorPickerInputContainer(
label: "Couleur principal :", label: "Couleur principal :",
color: configurationDTO.primaryColor, color: configurationDTO.primaryColor,
onChanged: (value) { onChanged: (value) {
configurationDTO.primaryColor = value; configurationDTO.primaryColor = value;
}, },
), ),*/
ColorPickerInputContainer( ColorPickerInputContainer(
label: "Couleur secondaire :", label: "Couleur fond d'écran :",
color: configurationDTO.secondaryColor, color: configurationDTO.secondaryColor,
onChanged: (value) { onChanged: (value) {
configurationDTO.secondaryColor = value; configurationDTO.secondaryColor = value;

View File

@ -28,9 +28,9 @@ class _BodyState extends State<Body> {
int currentPosition = 0; int currentPosition = 0;
var selectedElement; var selectedElement;
MenuSection devices = new MenuSection(name: "Devices", type: "devices", order: 0); MenuSection devices = new MenuSection(name: "Tablettes", type: "devices", order: 0);
MenuSection configurations = new MenuSection(name: "Configurations", type: "configurations", order: 1); MenuSection configurations = new MenuSection(name: "Configurations", type: "configurations", order: 1);
MenuSection resources = new MenuSection(name: "Resources", type: "resources", order: 2); MenuSection resources = new MenuSection(name: "Ressources", type: "resources", order: 2);
Menu menu = new Menu(title: "Manager"); Menu menu = new Menu(title: "Manager");

View File

@ -17,7 +17,7 @@ Future<void> main() async {
WidgetsFlutterBinding.ensureInitialized(); WidgetsFlutterBinding.ensureInitialized();
if (Platform.isWindows) { if (Platform.isWindows) {
setWindowTitle("Manager"); setWindowTitle("Manager");
setWindowMinSize(Size(1100, 900)); setWindowMinSize(Size(1250, 850));
setWindowMaxSize(Size(3840, 2160)); setWindowMaxSize(Size(3840, 2160));
} }

View File

@ -1,6 +1,13 @@
# Generated by pub # Generated by pub
# See https://dart.dev/tools/pub/glossary#lockfile # See https://dart.dev/tools/pub/glossary#lockfile
packages: packages:
ansicolor:
dependency: transitive
description:
name: ansicolor
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.1"
args: args:
dependency: transitive dependency: transitive
description: description:
@ -105,7 +112,7 @@ packages:
name: dart_vlc_ffi name: dart_vlc_ffi
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "0.0.8" version: "0.0.9"
drag_and_drop_lists: drag_and_drop_lists:
dependency: "direct main" dependency: "direct main"
description: description:
@ -119,7 +126,7 @@ packages:
name: encrypt name: encrypt
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "5.0.0" version: "5.0.1"
fake_async: fake_async:
dependency: transitive dependency: transitive
description: description:
@ -154,7 +161,7 @@ packages:
name: flare_flutter name: flare_flutter
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "3.0.1" version: "3.0.2"
flutter: flutter:
dependency: "direct main" dependency: "direct main"
description: flutter description: flutter
@ -191,6 +198,13 @@ packages:
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "3.1.4" version: "3.1.4"
injector:
dependency: transitive
description:
name: injector
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.0"
intl: intl:
dependency: transitive dependency: transitive
description: description:
@ -233,6 +247,13 @@ packages:
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.3.0" version: "1.3.0"
msix:
dependency: "direct main"
description:
name: msix
url: "https://pub.dartlang.org"
source: hosted
version: "2.1.3"
multiselect_formfield: multiselect_formfield:
dependency: "direct main" dependency: "direct main"
description: description:
@ -247,6 +268,13 @@ packages:
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.0.0" version: "1.0.0"
package_config:
dependency: transitive
description:
name: package_config
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.0"
path: path:
dependency: transitive dependency: transitive
description: description:
@ -302,7 +330,7 @@ packages:
name: platform name: platform
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "3.0.0" version: "3.0.2"
plugin_platform_interface: plugin_platform_interface:
dependency: transitive dependency: transitive
description: description:
@ -316,7 +344,7 @@ packages:
name: pointycastle name: pointycastle
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "3.2.0" version: "3.3.1"
process: process:
dependency: transitive dependency: transitive
description: description:
@ -405,7 +433,7 @@ packages:
name: video_player name: video_player
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "2.1.12" version: "2.1.14"
video_player_platform_interface: video_player_platform_interface:
dependency: transitive dependency: transitive
description: description:
@ -419,7 +447,7 @@ packages:
name: video_player_web name: video_player_web
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "2.0.2" version: "2.0.3"
win32: win32:
dependency: transitive dependency: transitive
description: description:
@ -443,6 +471,13 @@ packages:
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "0.2.0" version: "0.2.0"
yaml:
dependency: transitive
description:
name: yaml
url: "https://pub.dartlang.org"
source: hosted
version: "3.1.0"
sdks: sdks:
dart: ">=2.12.0 <3.0.0" dart: ">=2.12.0 <3.0.0"
flutter: ">=2.0.0" flutter: ">=2.0.0"

View File

@ -39,6 +39,7 @@ dependencies:
drag_and_drop_lists: ^0.3.2 drag_and_drop_lists: ^0.3.2
path_provider: ^2.0.2 path_provider: ^2.0.2
encrypt: ^5.0.0 encrypt: ^5.0.0
msix: ^2.1.3
window_size: window_size:
git: git:
url: git://github.com/google/flutter-desktop-embedding.git url: git://github.com/google/flutter-desktop-embedding.git
@ -72,6 +73,21 @@ flutter:
- assets/animations/ - assets/animations/
- assets/files/ - assets/files/
msix_config:
display_name: Manager
publisher_name: Manager-App
identity_name: Unov.Manager
msix_version: 1.0.0.0
certificate_path: C:/Users/Thomas Fransolet/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/msix-2.1.3/lib/assets/test_certificate.pfx
certificate_password: 1234
certificate_subject: CN=Unov
logo_path: C:\Users\Thomas Fransolet\Downloads\download.png
start_menu_icon_path: C:\Users\Thomas Fransolet\Downloads\download.png
tile_icon_path: C:\Users\Thomas Fransolet\Downloads\download.png
icons_background_color: ffffff
architecture: x64
capabilities: 'internetClient'
# An image asset can refer to one or more resolution-specific "variants", see # An image asset can refer to one or more resolution-specific "variants", see
# https://flutter.dev/assets-and-images/#resolution-aware. # https://flutter.dev/assets-and-images/#resolution-aware.