Update MSIX config and documentation (#602)

pull/614/head
Brett Morgan 4 years ago committed by GitHub
parent 092e78162c
commit 1edac4ca35
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,9 +1,12 @@
# Photo Search app # Photo Search app
This macOS application enables you to search [Unsplash](https://unsplash.com/) This desktop application enables you to search
for photographs that interest you. To use it, you need to add an [Unsplash](https://unsplash.com/) for photographs that interest you.
**Access Key** from [Unsplash API](https://unsplash.com/developers) to To use it, you need to add an **Access Key** from
[unsplash_access_key.dart](lib/unsplash_access_key.dart). [Unsplash API](https://unsplash.com/developers) to
`lib/unsplash_access_key.dart`.
This sample works on Windows, macOS and Linux.
## A quick tour of the code ## A quick tour of the code
@ -21,6 +24,18 @@ atop [http], [built_value] and [built_collection] for JSON Rest API access.
The [DataTreeNode] and widget family, along with the [Split] widget capture The [DataTreeNode] and widget family, along with the [Split] widget capture
desktop file explorer master/detail view idioms. desktop file explorer master/detail view idioms.
## Deploying to the Microsoft Store
This sample uses Yehuda Kremer's [MSIX pub package][msix_pub_package]
to bundle up the Windows release build for distribution to the
[Microsoft Store][]. Microsoft maintains a [plethora of documentation][ms_store_publishing_doc]
on deploying to the Microsoft Store.
See the `msix_config` stanza in this sample's `pubspec.yaml` for an
example configuration. Make sure the `display_name`, `publisher_display_name`
`publisher` and `identity_name` attributes match the settings in your
Microsoft Partner Center application submission.
## macOS Network and File entitlements ## macOS Network and File entitlements
To access the network, macOS requires applications enable the To access the network, macOS requires applications enable the
@ -34,9 +49,10 @@ Please see [macOS Signing and Security][macOS-security] for more detail.
## Flutter Desktop is not in Flutter Stable Release Channel ## Flutter Desktop is not in Flutter Stable Release Channel
This sample is an initial preview, intended to enable developers to preview what is This sample is a preview, intended to enable developers to preview what is
under development. As such, it is currently only available for use on the `master` channel under development. As such, it is currently only available for use on
of Flutter. Please see [Flutter build release channels][flutter_channels] for more detail, the `dev` and `master` channels of Flutter. Please see
[Flutter build release channels][flutter_channels] for more detail,
and how to switch between Flutter release channels. and how to switch between Flutter release channels.
[DataTreeNode]: lib/src/widgets/data_tree.dart [DataTreeNode]: lib/src/widgets/data_tree.dart
@ -53,3 +69,7 @@ and how to switch between Flutter release channels.
[macOS-security]: https://github.com/google/flutter-desktop-embedding/blob/master/macOS-Security.md [macOS-security]: https://github.com/google/flutter-desktop-embedding/blob/master/macOS-Security.md
[menubar]: https://github.com/google/flutter-desktop-embedding/tree/master/plugins/menubar [menubar]: https://github.com/google/flutter-desktop-embedding/tree/master/plugins/menubar
[url_launcher]: https://pub.dev/packages/url_launcher [url_launcher]: https://pub.dev/packages/url_launcher
[msix_pub_package]: https://pub.dev/packages/msix
[Microsoft Store]: https://www.microsoft.com/en-au/p/flutter-desktop-photo-search/9nh719dxcpj4
[ms_store_publishing_doc]: https://docs.microsoft.com/en-us/windows/uwp/publish/

@ -28,7 +28,7 @@ packages:
name: ansicolor name: ansicolor
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.0.5" version: "1.1.1"
args: args:
dependency: transitive dependency: transitive
description: description:
@ -211,12 +211,19 @@ packages:
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.2.0-nullsafety.3" version: "1.2.0-nullsafety.3"
file:
dependency: transitive
description:
name: file
url: "https://pub.dartlang.org"
source: hosted
version: "5.2.1"
file_chooser: file_chooser:
dependency: "direct main" dependency: "direct main"
description: description:
path: "plugins/file_chooser" path: "plugins/file_chooser"
ref: HEAD ref: HEAD
resolved-ref: "85dde09b702a0cb1f5e1392d2f030bdc3d4e5be3" resolved-ref: dc12db8bcbba6b868b884e4a143d4f843158d7ab
url: "https://github.com/google/flutter-desktop-embedding.git" url: "https://github.com/google/flutter-desktop-embedding.git"
source: git source: git
version: "0.2.0" version: "0.2.0"
@ -325,7 +332,7 @@ packages:
name: json_annotation name: json_annotation
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "3.1.0" version: "3.1.1"
logging: logging:
dependency: "direct main" dependency: "direct main"
description: description:
@ -345,7 +352,7 @@ packages:
description: description:
path: "plugins/menubar" path: "plugins/menubar"
ref: HEAD ref: HEAD
resolved-ref: "85dde09b702a0cb1f5e1392d2f030bdc3d4e5be3" resolved-ref: dc12db8bcbba6b868b884e4a143d4f843158d7ab
url: "https://github.com/google/flutter-desktop-embedding.git" url: "https://github.com/google/flutter-desktop-embedding.git"
source: git source: git
version: "0.1.0" version: "0.1.0"
@ -369,7 +376,7 @@ packages:
name: msix name: msix
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "0.1.2" version: "0.1.5"
nested: nested:
dependency: transitive dependency: transitive
description: description:
@ -383,14 +390,14 @@ packages:
name: node_interop name: node_interop
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.2.0" version: "1.2.1"
node_io: node_io:
dependency: transitive dependency: transitive
description: description:
name: node_io name: node_io
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.1.1" version: "1.2.0"
node_preamble: node_preamble:
dependency: transitive dependency: transitive
description: description:
@ -563,7 +570,7 @@ packages:
name: test name: test
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.16.0-nullsafety.9" version: "1.16.0-nullsafety.12"
test_api: test_api:
dependency: transitive dependency: transitive
description: description:
@ -577,7 +584,7 @@ packages:
name: test_core name: test_core
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "0.3.12-nullsafety.9" version: "0.3.12-nullsafety.11"
timing: timing:
dependency: transitive dependency: transitive
description: description:

@ -39,7 +39,7 @@ dev_dependencies:
build_runner: ^1.7.2 build_runner: ^1.7.2
built_value_generator: ^7.0.0 built_value_generator: ^7.0.0
grinder: ^0.8.3 grinder: ^0.8.3
msix: ^0.1.2 msix: ^0.1.5
source_gen: ^0.9.4 source_gen: ^0.9.4
test: ^1.9.4 test: ^1.9.4
tuneup: ^0.3.6 tuneup: ^0.3.6
@ -49,12 +49,11 @@ flutter:
msix_config: msix_config:
display_name: Flutter Desktop Photo Search display_name: Flutter Desktop Photo Search
publisher_name: flutter.dev publisher_display_name: flutter.dev
identity_name: Google.Flutter.PhotoSearch publisher: CN=01A6D5C0-D51A-4EEE-8DD0-F134DDD378F7
identity_name: 16354flutter.dev.FlutterDesktopPhotoSearch
msix_version: 1.0.0.0 msix_version: 1.0.0.0
# certificate_subject: CN=MyName icons_background_color: '#ffffff'
# logo_path: packages/flutter_gallery_assets/assets/logo/flutter_logo_color.png
# start_menu_icon_path: packages/flutter_gallery_assets/assets/logo/flutter_logo_color.png
# tile_icon_path: packages/flutter_gallery_assets/assets/logo/flutter_logo_color.png
icons_background_color: ffffff
architecture: x64 architecture: x64
# See https://docs.microsoft.com/en-us/windows/uwp/packaging/app-capability-declarations
capabilities: 'internetClient'

Loading…
Cancel
Save