mirror of
https://github.com/feschber/lan-mouse.git
synced 2026-04-20 19:03:20 +03:00
Include libadwaita and other dependencies in the app bundle on macOS (#271)
* Include libadwaita and other dependencies in the app bundle on macOS * Fix missing pipes * Use recent bash for associative array support (declare -A) * Use correct path for homebrew bash on Intel macOS * Get homebrew path from the brew command * Simplify copy-macos-dylib and convert to POSIX sh Remove need for recent bash altogether * Fix permissions nit * Update macOS dylib copy script path in release workflow * fix a few typos * fix script invocation in pre-release.yml --------- Co-authored-by: Apoorv Khandelwal <mail@apoorvkh.com> Co-authored-by: Ferdinand Schober <ferdinandschober20@gmail.com>
This commit is contained in:
committed by
GitHub
parent
94e6372218
commit
0a0d91b0da
23
README.md
23
README.md
@@ -83,7 +83,6 @@ paru -S lan-mouse-git
|
||||
|
||||
<details>
|
||||
<summary>Fedora</summary>
|
||||
|
||||
You can install Lan Mouse from the [Terra Repository](https://terra.fyralabs.com).
|
||||
|
||||
|
||||
@@ -94,6 +93,18 @@ dnf install lan-mouse
|
||||
```
|
||||
</details>
|
||||
|
||||
<details>
|
||||
<summary>MacOS</summary>
|
||||
|
||||
- Download the package for your Mac (Intel or ARM) from the releases page
|
||||
- Unzip it
|
||||
- Remove the quarantine with `xattr -rd com.apple.quarantine "Lan Mouse.app"`
|
||||
- Launch the app
|
||||
- Grant accessibility permissions in System Preferences
|
||||
|
||||
</details>
|
||||
|
||||
|
||||
<details>
|
||||
<summary>Manual Installation</summary>
|
||||
|
||||
@@ -172,7 +183,15 @@ For a detailed list of available features, checkout the [Cargo.toml](./Cargo.tom
|
||||
<summary>MacOS</summary>
|
||||
|
||||
```sh
|
||||
brew install libadwaita pkg-config
|
||||
# Install dependencies
|
||||
brew install libadwaita pkg-config imagemagick
|
||||
cargo install cargo-bundle
|
||||
# Create the macOS icon file
|
||||
scripts/makeicns.sh
|
||||
# Create the .app bundle
|
||||
cargo bundle
|
||||
# Copy all dynamic libraries into the bundle, and update the bundle to find them there
|
||||
scripts/copy-macos-dylib.sh
|
||||
```
|
||||
</details>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user