Clash For Flutter
dev
# https://mobx.netlify.app/getting-started
# generates *.g.dart
flutter pub run build_runner build --delete-conflicting-outputs
# or
flutter pub run build_runner watch --delete-conflicting-outputs
flutter run -d windows
build for mac
dart pub global activate flutter_distributor
npm install -g appdmg
flutter_distributor package --platform=macos --targets=dmg
build for window
dart pub global activate flutter_distributor
# need install Inno https://jrsoftware.org/isdl.php#stable
flutter_distributor package --platform windows --targets exe,zip
build for window use Inno Setup
start "C:\Program Files (x86)\Inno Setup 6\ISCC.exe" .\setup.iss
Question Record
MacOS tun 模式需要手动添加 dns
networksetup -getdnsservers Wi-Fi # get
networksetup -setdnsservers Wi-Fi 198.18.0.2 # set
networksetup -setdnsservers Wi-Fi empty # del
Hide cmd window
flutter/flutter#47891 (comment)
flutter/flutter#47891 (comment)
bitsdojo_window fix macos run error
bitsdojo/bitsdojo_window#119 (comment)
bitsdojo_window example
https://github.com/bitsdojo/bitsdojo_window/tree/master/bitsdojo_window/example
close window not exit process for win
antler119/system_tray#7 (comment)
close window not exit process for mac
antler119/system_tray#10 (comment)
single-instance app for win
https://github.com/biyidev/biyi/commit/66ad34c21c221460c0bd7c47a743259f5e15a38d
edit windows version
TODO
-
macos 关闭窗口时隐藏 dock
-
hot restart 时重启 clash flutter/flutter#10437
-
macos debug 模式下多次调用 Shell 会卡死 flutter/flutter#95805
-
tun 模式
Other Clash GUI
ClashX for mac
https://github.com/yichengchen/clashX
ClashX Pro for mac
https://install.appcenter.ms/users/clashx/apps/clashx-pro/distribution_groups/public
Clash Pro for win & mac
https://github.com/Fndroid/clash_for_windows_pkg/
subconverter
https://github.com/tindy2013/subconverter
subconverter web gui
https://github.com/CareyWang/sub-web/