Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ echo "0.15.0" > .luca-version
git clone https://github.com/LucaTools/Luca.git
cd Luca
swift build -c release
cp -f .build/release/luca /usr/local/bin/luca
mkdir -p ~/.local/bin
cp -f .build/release/luca ~/.local/bin/luca
```

On Linux, you can build a portable binary that doesn't require the Swift runtime:
Expand Down
3 changes: 2 additions & 1 deletion Sources/ManagerCore/Core/SelfUpdater/SudoInstalling.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ protocol SudoInstalling {
///
/// - Parameters:
/// - source: Path of the file to install.
/// - destination: Target path (typically a privileged location such as `/usr/local/bin/luca`).
/// - destination: Target path. Only used as a fallback when the install directory isn't
/// user-writable, e.g. a privileged location such as `/usr/local/bin/luca`.
/// - Returns: The `sudo` process termination status.
func install(from source: URL, to destination: URL) async throws -> Int32
}