Skip to content

An open-source cross-platform alternative to AirDrop

feat: restore windows 7 support

Tien Do Nam73d888240e9b
diff --git a/pubspec.lock b/pubspec.lock
index d554b791..dd7592da 100644
--- a/pubspec.lock
+++ b/pubspec.lock
@@ -934,12 +934,13 @@ packages:
source: hosted
version: "3.9.0"
permission_handler_windows:
- dependency: transitive
+ dependency: "direct overridden"
description:
- name: permission_handler_windows
- sha256: f67cab14b4328574938ecea2db3475dad7af7ead6afab6338772c5f88963e38b
- url: "https://pub.dev"
- source: hosted
+ path: "."
+ ref: fc09b707ab4535a9214c87b16f09feda7e765d90
+ resolved-ref: fc09b707ab4535a9214c87b16f09feda7e765d90
+ url: "https://github.com/localsend/permission_handler_windows_noop.git"
+ source: git
version: "0.1.2"
petitparser:
dependency: transitive
diff --git a/pubspec.yaml b/pubspec.yaml
index 5a124d6f..30ae3760 100644
--- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -75,6 +75,12 @@ dev_dependencies:
test: 1.22.0
dependency_overrides:
+ permission_handler_windows:
+ # Remove windows support as it causes trouble with Windows 7
+ # https://github.com/Baseflow/flutter-permission-handler/issues/1034
+ git:
+ url: https://github.com/localsend/permission_handler_windows_noop.git
+ ref: fc09b707ab4535a9214c87b16f09feda7e765d90
share_handler_platform_interface:
# https://github.com/ShoutSocial/share_handler/pull/39
# Remove this when next release is published