Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/maxisme/launch_at_login
https://github.com/maxisme/launch_at_login
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/maxisme/launch_at_login
- Owner: maxisme
- License: other
- Created: 2020-07-13T15:37:30.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2021-03-04T11:53:14.000Z (over 3 years ago)
- Last Synced: 2024-07-23T01:43:44.726Z (about 2 months ago)
- Language: Ruby
- Size: 3.15 MB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
- awesome-flutter-desktop - launch_at_login - A new flutter plugin project. (Packages)
README
# launch_at_login
After installing `launch_at_login` by adding to the pubspec.yaml and running `flutter pub get -v`
It will return the path of the `launch_at_login` lib (something like: `~/.pub-cache/hosted/pub.dartlang.org/launch_at_login-0.0.3/lib/`) in which there will be an assets folder with a file called `copy-login-helper.sh`.
Add to your `macos` Xcode project in the `Build Phases` -> `Run Script`:
```
/bin/sh ~/.pub-cache/hosted/pub.dartlang.org/launch_at_login-0.0.3/lib/assets/copy-login-helper.sh
```You can find the .pub-cache directory by looking in your projects `.flutter-plugins-dependencies` file.
this builds the helper app to launch your MacOS app on login.
Then you can run:
```
$ flutter run -d macos
```