pubspec.yaml 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. name: naiyouwl
  2. version: 1.0.0+1
  3. publish_to: none
  4. description: naiyou
  5. environment:
  6. sdk: '>=3.1.1 <4.0.0'
  7. dependencies:
  8. styled_widget: ^0.4.0+3
  9. web_socket_channel: ^2.1.0
  10. yaml: ^3.1.0
  11. flutter_emoji: ^2.4.0
  12. process_run: ^0.13.0
  13. tray_manager: ^0.2.0
  14. proxy_manager: ^0.0.3
  15. shared_preferences: ^2.0.10
  16. cupertino_icons: ^1.0.2
  17. window_manager: ^0.3.6
  18. http: ^1.1.0
  19. provider: ^6.0.5
  20. logger: ^2.0.2+1
  21. get: 4.6.6
  22. flutter:
  23. sdk: flutter
  24. flutter_localizations:
  25. sdk: flutter
  26. dio: ^4.0.6
  27. connectivity_plus: ^2.3.6
  28. flutter_secure_storage: ^5.0.2
  29. sp_util: ^2.0.3
  30. dart_json_mapper: ^2.2.7
  31. url_launcher: ^6.1.11
  32. path_provider: ^2.0.11
  33. bot_toast: ^4.1.3
  34. protocol_handler: ^0.1.2
  35. wl_base_help:
  36. path: ../wl_base_help
  37. archive: ^3.6.1
  38. yaml_edit: ^2.2.1
  39. dev_dependencies:
  40. flutter_lints: ^2.0.0
  41. flutter_test:
  42. sdk: flutter
  43. ffigen: any
  44. build_runner: ^2.4.4
  45. test: ^1.24.3
  46. flutter:
  47. assets:
  48. - assets/
  49. - assets/bin/
  50. - assets/dep/
  51. - assets/images/login/
  52. - assets/images/main/
  53. - assets/images/node/
  54. - assets/images/logo/
  55. # - images/login/login.png
  56. # - images/main/main.png
  57. # - images/main/refresh.png
  58. # - images/main/userstatus.png
  59. # - images/main/userstatusoff.png
  60. # - images/main/customer.png
  61. # - images/main/promotion.png
  62. # - images/main/tutorial.png
  63. # - images/main/renewal.png
  64. # - images/main/disconnected.gif
  65. # - images/main/connecting.gif
  66. # - images/main/stopped.gif
  67. # - images/node/nodebg.png
  68. # - images/node/nodetablebg.png
  69. uses-material-design: true
  70. ffigen:
  71. name: "ClashFFI"
  72. output: 'lib/app/bean/generated/clash_generated_bindings.dart'
  73. headers:
  74. entry-points:
  75. - 'libclash/libclash.h'
  76. compiler-opts:
  77. - '--target=x86_64-apple-macos10.15' # 指定 macOS 10.15 版本,兼容性较好
  78. - '-Wno-availability' # 忽略所有可用性相关的警告
  79. - '--sysroot=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk' # macOS SDK 路径