https://github.com/defuncart/folders_sync
A macOS menu bar application which syncs the contents of a folder to another folder.
https://github.com/defuncart/folders_sync
dartlang flutter-app macos macos-app menubar-app rust
Last synced: about 2 months ago
JSON representation
A macOS menu bar application which syncs the contents of a folder to another folder.
- Host: GitHub
- URL: https://github.com/defuncart/folders_sync
- Owner: defuncart
- Created: 2022-03-19T16:55:26.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-04-09T12:09:54.000Z (about 3 years ago)
- Last Synced: 2025-02-16T04:29:04.417Z (4 months ago)
- Topics: dartlang, flutter-app, macos, macos-app, menubar-app, rust
- Language: Dart
- Homepage:
- Size: 147 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# folders_sync
A macOS menu bar application which syncs the contents of one folder to another.
## Getting Started
To build the app locally, the following tools are required:
- Flutter stable >= 2.10
- Dart >= 2.16
- macOS:
- Xcode >= 13.0
- CocoaPods >= 1.11.0
- Rustthen use `cargo run` (or `cargo run --target=x86_64-apple-darwin` on Silicon Macs) to run the app.
## Why NativeShell?
Menu bar applications can be natively setup by defining `LSUIElement` to true in `Info.plist`, adding a `NSStatusItem` in `MainFlutterWindow.swift` and creating a native context menu in Interface Builder. However, I could not find a way to open a flutter window from a native context menu. NativeShell simplifies this process while bring other benefits such as native drag & drop.
## Code Generation
### Localizations
To add new localizations, update `assets_dev/loca/loca.csv` and run
```sh
sh bin/loca_generate.sh
```