Skip to content

Commit

Permalink
🐛 修复dll缺失
Browse files Browse the repository at this point in the history
  • Loading branch information
BTMuli committed Aug 9, 2024
1 parent f73edbf commit bca639f
Show file tree
Hide file tree
Showing 4 changed files with 90 additions and 57 deletions.
119 changes: 71 additions & 48 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,23 @@ packages:
dependency: transitive
description:
name: _fe_analyzer_shared
sha256: "0b2f2bd91ba804e53a61d757b986f89f1f9eaed5b11e4b2f5a2468d86d6c9fc7"
sha256: f256b0c0ba6c7577c15e2e4e114755640a875e885099367bf6e012b19314c834
url: "https://pub.flutter-io.cn"
source: hosted
version: "67.0.0"
version: "72.0.0"
_macros:
dependency: transitive
description: dart
source: sdk
version: "0.3.2"
analyzer:
dependency: transitive
description:
name: analyzer
sha256: "37577842a27e4338429a1cbc32679d508836510b056f1eedf0c8d20e39c1383d"
sha256: b652861553cd3990d8ed361f7979dc6d7053a9ac8843fa73820ab68ce5410139
url: "https://pub.flutter-io.cn"
source: hosted
version: "6.4.1"
version: "6.7.0"
ansi:
dependency: transitive
description:
Expand Down Expand Up @@ -109,18 +114,18 @@ packages:
dependency: "direct dev"
description:
name: build_runner
sha256: "644dc98a0f179b872f612d3eb627924b578897c629788e858157fa5e704ca0c7"
sha256: dd09dd4e2b078992f42aac7f1a622f01882a8492fef08486b27ddde929c19f04
url: "https://pub.flutter-io.cn"
source: hosted
version: "2.4.11"
version: "2.4.12"
build_runner_core:
dependency: transitive
description:
name: build_runner_core
sha256: e3c79f69a64bdfcd8a776a3c28db4eb6e3fb5356d013ae5eb2e52007706d5dbe
sha256: f8126682b87a7282a339b871298cc12009cb67109cfa1614d6436fb0289193e0
url: "https://pub.flutter-io.cn"
source: hosted
version: "7.3.1"
version: "7.3.2"
built_collection:
dependency: transitive
description:
Expand Down Expand Up @@ -229,10 +234,10 @@ packages:
dependency: transitive
description:
name: cross_file
sha256: "55d7b444feb71301ef6b8838dbc1ae02e63dd48c8773f3810ff53bb1e2945b32"
sha256: "7caf6a750a0c04effbb52a676dce9a4a592e10ad35c34d6d2d0e4811160d5670"
url: "https://pub.flutter-io.cn"
source: hosted
version: "0.3.4+1"
version: "0.3.4+2"
crypto:
dependency: "direct main"
description:
Expand Down Expand Up @@ -333,10 +338,10 @@ packages:
dependency: transitive
description:
name: file_selector_android
sha256: e7610bcdaee3ad5310c075dc7535c91db06ae03bf8f6ec8fff04e1f6d071d7ed
sha256: d1e8655c1a4850a900a0cfaed55fdd273881d53a4bb78e4736dc170a0b17db78
url: "https://pub.flutter-io.cn"
source: hosted
version: "0.5.1+4"
version: "0.5.1+5"
file_selector_ios:
dependency: transitive
description:
Expand Down Expand Up @@ -373,10 +378,10 @@ packages:
dependency: transitive
description:
name: file_selector_web
sha256: "619e431b224711a3869e30dbd7d516f5f5a4f04b265013a50912f39e1abc88c8"
sha256: c4c0ea4224d97a60a7067eca0c8fd419e708ff830e0c83b11a48faf566cec3e7
url: "https://pub.flutter-io.cn"
source: hosted
version: "0.9.4+1"
version: "0.9.4+2"
file_selector_windows:
dependency: transitive
description:
Expand All @@ -397,10 +402,10 @@ packages:
dependency: "direct main"
description:
name: fluent_ui
sha256: "6f4200eab911f783c6bd7892569fdc1f85d77cef5b02fde24595ea5ce72f97c9"
sha256: ae97c15cbf41594e31d9582a359b5a725cb66753bef73ed845ba534d3c7ec053
url: "https://pub.flutter-io.cn"
source: hosted
version: "4.9.0"
version: "4.9.1"
flutter:
dependency: "direct main"
description: flutter
Expand Down Expand Up @@ -601,18 +606,18 @@ packages:
dependency: transitive
description:
name: leak_tracker
sha256: "7f0df31977cb2c0b88585095d168e689669a2cc9b97c309665e3386f3e9d341a"
sha256: "3f87a60e8c63aecc975dda1ceedbc8f24de75f09e4856ea27daf8958f2f0ce05"
url: "https://pub.flutter-io.cn"
source: hosted
version: "10.0.4"
version: "10.0.5"
leak_tracker_flutter_testing:
dependency: transitive
description:
name: leak_tracker_flutter_testing
sha256: "06e98f569d004c1315b991ded39924b21af84cf14cc94791b8aea337d25b57f8"
sha256: "932549fb305594d82d7183ecd9fa93463e9914e1b67cacc34bc40906594a1806"
url: "https://pub.flutter-io.cn"
source: hosted
version: "3.0.3"
version: "3.0.5"
leak_tracker_testing:
dependency: transitive
description:
Expand Down Expand Up @@ -661,6 +666,14 @@ packages:
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.5.0"
macros:
dependency: transitive
description:
name: macros
sha256: "0acaed5d6b7eab89f63350bccd82119e6c602df0f391260d0e32b5e23db79536"
url: "https://pub.flutter-io.cn"
source: hosted
version: "0.1.2-main.4"
matcher:
dependency: transitive
description:
Expand All @@ -673,26 +686,26 @@ packages:
dependency: transitive
description:
name: material_color_utilities
sha256: "0e0a020085b65b6083975e499759762399b4475f766c21668c4ecca34ea74e5a"
sha256: f7142bb1154231d7ea5f96bc7bde4bda2a0945d2806bb11670e30b850d56bdec
url: "https://pub.flutter-io.cn"
source: hosted
version: "0.8.0"
version: "0.11.1"
math_expressions:
dependency: transitive
description:
name: math_expressions
sha256: db0b72d867491c4e53a1c773e2708d5d6e94bbe06be07080fc9f896766b9cd3d
sha256: e32d803d758ace61cc6c4bdfed1226ff60a6a23646b35685670d28b5616139f8
url: "https://pub.flutter-io.cn"
source: hosted
version: "2.5.0"
version: "2.6.0"
meta:
dependency: transitive
description:
name: meta
sha256: "7687075e408b093f36e6bbf6c91878cc0d4cd10f409506f7bc996f68220b9136"
sha256: bdb68674043280c3428e9ec998512fb681678676b3c54e773629ffe74419f8c7
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.12.0"
version: "1.15.0"
mime:
dependency: transitive
description:
Expand All @@ -704,11 +717,21 @@ packages:
msix:
dependency: "direct dev"
description:
name: msix
sha256: "519b183d15dc9f9c594f247e2d2339d855cf0eaacc30e19b128e14f3ecc62047"
url: "https://pub.flutter-io.cn"
source: hosted
path: "."
ref: msvc_redist
resolved-ref: "4c5cd4c3187bbe2eb8365f11c3d929e4d1aeac92"
url: "https://github.com/insertjokehere/msix.git"
source: git
version: "3.16.7"
msvcredist:
dependency: "direct main"
description:
path: "."
ref: main
resolved-ref: d46cb7bed55038d4648e28b04f5432e843bd1a24
url: "https://github.com/insertjokehere/flutter_msvcredist.git"
source: git
version: "0.1.0"
nested:
dependency: transitive
description:
Expand Down Expand Up @@ -761,18 +784,18 @@ packages:
dependency: "direct main"
description:
name: path_provider
sha256: c9e7d3a4cd1410877472158bee69963a4579f78b68c65a2b7d40d1a7a88bb161
sha256: fec0d61223fba3154d87759e3cc27fe2c8dc498f6386c6d6fc80d1afdd1bf378
url: "https://pub.flutter-io.cn"
source: hosted
version: "2.1.3"
version: "2.1.4"
path_provider_android:
dependency: transitive
description:
name: path_provider_android
sha256: e84c8a53fe1510ef4582f118c7b4bdf15b03002b51d7c2b66983c65843d61193
sha256: "490539678396d4c3c0b06efdaab75ae60675c3e0c66f72bc04c2e2c1e0e2abeb"
url: "https://pub.flutter-io.cn"
source: hosted
version: "2.2.8"
version: "2.2.9"
path_provider_foundation:
dependency: transitive
description:
Expand Down Expand Up @@ -1086,10 +1109,10 @@ packages:
dependency: transitive
description:
name: test_api
sha256: "9955ae474176f7ac8ee4e989dadfb411a58c30415bcfb648fa04b2b8a03afa7f"
sha256: "5b8a98dafc4d5c4c9c72d8b31ab2b23fc13422348d2997120294d3bac86b4ddb"
url: "https://pub.flutter-io.cn"
source: hosted
version: "0.7.0"
version: "0.7.2"
timing:
dependency: transitive
description:
Expand Down Expand Up @@ -1150,10 +1173,10 @@ packages:
dependency: transitive
description:
name: url_launcher_linux
sha256: ab360eb661f8879369acac07b6bb3ff09d9471155357da8443fd5d3cf7363811
sha256: e2b9622b4007f97f504cd64c0128309dfb978ae66adbe944125ed9e1750f06af
url: "https://pub.flutter-io.cn"
source: hosted
version: "3.1.1"
version: "3.2.0"
url_launcher_macos:
dependency: transitive
description:
Expand All @@ -1174,10 +1197,10 @@ packages:
dependency: transitive
description:
name: url_launcher_web
sha256: a36e2d7981122fa185006b216eb6b5b97ede3f9a54b7a511bc966971ab98d049
sha256: "772638d3b34c779ede05ba3d38af34657a05ac55b06279ea6edd409e323dca8e"
url: "https://pub.flutter-io.cn"
source: hosted
version: "2.3.2"
version: "2.3.3"
url_launcher_windows:
dependency: transitive
description:
Expand Down Expand Up @@ -1214,10 +1237,10 @@ packages:
dependency: transitive
description:
name: vm_service
sha256: "3923c89304b715fb1eb6423f017651664a03bf5f4b29983627c4da791f74a4ec"
sha256: f652077d0bdf60abe4c1f6377448e8655008eef28f128bc023f7b5e8dfeb48fc
url: "https://pub.flutter-io.cn"
source: hosted
version: "14.2.1"
version: "14.2.4"
watcher:
dependency: transitive
description:
Expand Down Expand Up @@ -1262,10 +1285,10 @@ packages:
dependency: transitive
description:
name: win32
sha256: a79dbe579cb51ecd6d30b17e0cae4e0ea15e2c0e66f69ad4198f22a6789e94f4
sha256: "015002c060f1ae9f41a818f2d5640389cc05283e368be19dc8d77cecb43c40c9"
url: "https://pub.flutter-io.cn"
source: hosted
version: "5.5.1"
version: "5.5.3"
win32_registry:
dependency: transitive
description:
Expand All @@ -1278,10 +1301,10 @@ packages:
dependency: "direct main"
description:
name: window_manager
sha256: "8699323b30da4cdbe2aa2e7c9de567a6abd8a97d9a5c850a3c86dcd0b34bbfbf"
sha256: e052224c7d8f0d1d0b2e03b7b1047bb08ea800d919a79453518311839881fa5f
url: "https://pub.flutter-io.cn"
source: hosted
version: "0.3.9"
version: "0.4.0"
windows_taskbar:
dependency: "direct main"
description:
Expand Down Expand Up @@ -1315,5 +1338,5 @@ packages:
source: hosted
version: "3.1.2"
sdks:
dart: ">=3.4.0 <4.0.0"
flutter: ">=3.22.3"
dart: ">=3.5.0 <4.0.0"
flutter: ">=3.24.0"
24 changes: 15 additions & 9 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
version: 0.1.0+1

environment:
sdk: '>=3.4.0 <4.0.0'
flutter: "3.22.3"
sdk: '>=3.5.0 <4.0.0'
flutter: "3.24.0"

# Dependencies specify other packages that your package needs in order to work.
# To automatically upgrade your package dependencies to the latest versions
Expand All @@ -42,24 +42,28 @@ dependencies:
dio: ^5.5.0+1
encrypt: ^5.0.3
file_selector: ^1.0.3
fluent_ui: ^4.9.0
fluent_ui: ^4.9.1
flutter_acrylic: ^1.1.4
flutter_riverpod: ^2.5.1
flutter_screenutil: ^5.9.3
jiffy: ^6.3.1
json_annotation: ^4.9.0
json_schema: ^5.2.0
logger: ^2.4.0
msvcredist:
git:
url: https://github.com/insertjokehere/flutter_msvcredist.git
ref: main
package_info_plus: ^8.0.1
path: ^1.9.0
path_provider: ^2.1.3
path_provider: ^2.1.4
provider: ^6.1.2
sqflite_common_ffi: ^2.3.3
system_theme: ^3.0.0
url_launcher: ^6.3.0
uuid: ^4.4.2
webview_windows: ^0.4.0
window_manager: ^0.3.9
window_manager: ^0.4.0
windows_taskbar: ^1.1.2

dev_dependencies:
Expand All @@ -71,14 +75,17 @@ dev_dependencies:
# activated in the `analysis_options.yaml` file located at the root of your
# package. See that file for information about deactivating specific lint
# rules and activating additional ones.
build_runner: ^2.4.11
build_runner: ^2.4.12
flutter_lints: ^4.0.0
husky: ^0.1.7
import_sorter: ^4.6.0
json_serializable: ^6.8.0
lint_staged: ^0.5.1
msix: ^3.16.7

# msix: ^3.16.7
msix:
git:
url: https://github.com/insertjokehere/msix.git
ref: msvc_redist
# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec

Expand Down Expand Up @@ -121,7 +128,6 @@ lint_staged:

# msix
msix_config:
store: false
protocol_activation: ShufflePlay
display_name: ShufflePlay
logo_path: assets/images/ShufflePlay.png
Expand Down
3 changes: 3 additions & 0 deletions windows/flutter/generated_plugin_registrant.cc
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

#include <file_selector_windows/file_selector_windows.h>
#include <flutter_acrylic/flutter_acrylic_plugin.h>
#include <msvcredist/msvcredist_plugin_c_api.h>
#include <screen_retriever/screen_retriever_plugin.h>
#include <system_theme/system_theme_plugin.h>
#include <url_launcher_windows/url_launcher_windows.h>
Expand All @@ -20,6 +21,8 @@ void RegisterPlugins(flutter::PluginRegistry* registry) {
registry->GetRegistrarForPlugin("FileSelectorWindows"));
FlutterAcrylicPluginRegisterWithRegistrar(
registry->GetRegistrarForPlugin("FlutterAcrylicPlugin"));
MsvcredistPluginCApiRegisterWithRegistrar(
registry->GetRegistrarForPlugin("MsvcredistPluginCApi"));
ScreenRetrieverPluginRegisterWithRegistrar(
registry->GetRegistrarForPlugin("ScreenRetrieverPlugin"));
SystemThemePluginRegisterWithRegistrar(
Expand Down
Loading

0 comments on commit bca639f

Please sign in to comment.