From 36914f7f51876b5f160c4d93c5e7927953ca8370 Mon Sep 17 00:00:00 2001 From: Dan Ballard Date: Thu, 3 Jun 2021 17:23:40 -0700 Subject: [PATCH] install flutter pub msix and test it, and leave instructions once we have a cert in msix.install.todo --- msix.install.todo | 8 ++++++++ pubspec.lock | 35 +++++++++++++++++++++++++++++++++++ pubspec.yaml | 5 ++++- 3 files changed, 47 insertions(+), 1 deletion(-) create mode 100644 msix.install.todo diff --git a/msix.install.todo b/msix.install.todo new file mode 100644 index 0000000..298312a --- /dev/null +++ b/msix.install.todo @@ -0,0 +1,8 @@ +flutter pub run msix:create +https://pub.dev/packages/msix + +need a cert + +also need to copy Tor and libcwtch-go.dll into build/windows/runner/release +before running the msix:create command so they are bundled (drone.yml) +also will need to inject the cert into drone diff --git a/pubspec.lock b/pubspec.lock index 9624a17..9f56447 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -1,6 +1,13 @@ # Generated by pub # See https://dart.dev/tools/pub/glossary#lockfile packages: + ansicolor: + dependency: transitive + description: + name: ansicolor + url: "https://pub.dartlang.org" + source: hosted + version: "2.0.1" archive: dependency: transitive description: @@ -157,6 +164,13 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "4.0.0" + injector: + dependency: transitive + description: + name: injector + url: "https://pub.dartlang.org" + source: hosted + version: "2.0.0" integration_test: dependency: "direct main" description: @@ -192,6 +206,13 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "1.3.0" + msix: + dependency: "direct dev" + description: + name: msix + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.2" nested: dependency: transitive description: @@ -213,6 +234,13 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "1.1.1" + package_config: + dependency: transitive + description: + name: package_config + url: "https://pub.dartlang.org" + source: hosted + version: "2.0.0" package_info_plus: dependency: "direct main" description: @@ -451,6 +479,13 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "5.1.1" + yaml: + dependency: transitive + description: + name: yaml + url: "https://pub.dartlang.org" + source: hosted + version: "3.1.0" sdks: dart: ">=2.13.0 <3.0.0" flutter: ">=1.20.0" diff --git a/pubspec.yaml b/pubspec.yaml index 3bcc763..c4d4c9c 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -51,7 +51,10 @@ dependencies: path: plugins/window_size ref: e48abe7c3e9ebfe0b81622167c5201d4e783bb81 -#dev_dependencies: +dev_dependencies: + flutter_test: + sdk: flutter + msix: ^2.1.2 # flutter_lokalise: any # alternatively: flutter pub run intl_translation:generate_from_arb --output-dir=lib/l10n --no-use-deferred-loading lib/intl/app_localizations.dart lib/l10n/intl_*.arb --api-token X --project-id Y