diff --git a/Makefile b/Makefile index 9ca48bf..9697ecb 100644 --- a/Makefile +++ b/Makefile @@ -12,7 +12,7 @@ CARGO_VERSION := stable CARGO_OPTIONS := CARGO_SUB_OPTIONS := CARGO_COMMAND := cargo +$(CARGO_VERSION) $(CARGO_OPTIONS) -APP_ARGS := launcher hain +APP_ARGS := launcher albert # Environment #=============================================================== diff --git a/README.md b/README.md index 689a996..6794d72 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,9 @@ If the cargo project is a binary crates, this tool can register the binary in th - Register as workflow - [Hain](https://hainproject.github.io/hain/docs/) - Register as devplugin +- [Albert](https://albertlauncher.github.io/docs/extensions/python/) + - Register as Python extension + ## TODO - [ ] cargo workspace(Only single binary crates) @@ -15,9 +18,11 @@ If the cargo project is a binary crates, this tool can register the binary in th ## Usage -### Alfred workflow +### Common -``` +- Install CLI binary + +``` shell $ cd {your binary crates project} # Install to local, or manually install @@ -26,8 +31,13 @@ $ cd {your binary crates project} $ cargo install --path . ... Installing /Users/watawuwu/.cargo/bin/{your-binary} +``` + +### Alfred workflow -# Export to Alfred +- Generate Alfredworkflow file + +``` $ cargo launcher alfred ``` @@ -39,19 +49,23 @@ $ cargo launcher alfred ### Hain plugin -``` -$ cd {your binary crates project} - -# Install to local, or manually install -# The script path is set as follows -# PATH=$HOME/.cargo/bin:$HOME/.local/bin:/usr/local/bin:$PATH -$ cargo install --path . -... - Installing /Users/watawuwu/.cargo/bin/{your-binary} +- Export to hain devplugin directory -# Export to hain devplugin +``` $ cargo launcher hain ``` - Restart Hain + +### Albert plugin + +- Export to albert module directory + +``` +$ cargo launcher albert +``` + +- Check the checkbox of the python extension list and activate the setting + + diff --git a/albert.png b/albert.png new file mode 100644 index 0000000..c2b1d0b Binary files /dev/null and b/albert.png differ