mirror of
https://github.com/lukaszraczylo/lolcathost.git
synced 2026-07-07 04:24:39 +00:00
Move to casks.
This commit is contained in:
+12
-5
@@ -22,7 +22,7 @@ builds:
|
|||||||
|
|
||||||
archives:
|
archives:
|
||||||
- id: lolcathost
|
- id: lolcathost
|
||||||
format: tar.gz
|
formats: [tar.gz]
|
||||||
name_template: "lolcathost-{{ .Version }}-{{ .Os }}-{{ .Arch }}"
|
name_template: "lolcathost-{{ .Version }}-{{ .Os }}-{{ .Arch }}"
|
||||||
files:
|
files:
|
||||||
- LICENSE
|
- LICENSE
|
||||||
@@ -49,14 +49,21 @@ release:
|
|||||||
draft: false
|
draft: false
|
||||||
prerelease: auto
|
prerelease: auto
|
||||||
|
|
||||||
brews:
|
homebrew_casks:
|
||||||
- repository:
|
- repository:
|
||||||
owner: lukaszraczylo
|
owner: lukaszraczylo
|
||||||
name: homebrew-taps
|
name: homebrew-taps
|
||||||
token: "{{ .Env.HOMEBREW_TAP_TOKEN }}"
|
token: "{{ .Env.HOMEBREW_TAP_TOKEN }}"
|
||||||
directory: Formula
|
directory: Casks
|
||||||
homepage: https://github.com/lukaszraczylo/lolcathost
|
homepage: https://github.com/lukaszraczylo/lolcathost
|
||||||
description: "Dynamic host management tool for macOS and Linux with TUI"
|
description: "Dynamic host management tool for macOS and Linux with TUI"
|
||||||
license: MIT
|
license: MIT
|
||||||
test: |
|
url:
|
||||||
system "#{bin}/lolcathost", "--version"
|
verified: github.com/lukaszraczylo/lolcathost
|
||||||
|
hooks:
|
||||||
|
post:
|
||||||
|
install: |
|
||||||
|
if OS.mac?
|
||||||
|
system_command "/usr/bin/xattr",
|
||||||
|
args: ["-dr", "com.apple.quarantine", "#{staged_path}/lolcathost"]
|
||||||
|
end
|
||||||
|
|||||||
@@ -50,12 +50,17 @@ lolcathost manages your `/etc/hosts` file with an interactive terminal interface
|
|||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
### Homebrew (macOS/Linux)
|
### Homebrew (macOS)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
brew install lukaszraczylo/taps/lolcathost
|
brew install --cask lukaszraczylo/taps/lolcathost
|
||||||
```
|
```
|
||||||
|
|
||||||
|
> **Note**: If you previously installed via `brew install lukaszraczylo/taps/lolcathost` (formula), uninstall first:
|
||||||
|
> ```bash
|
||||||
|
> brew uninstall lolcathost
|
||||||
|
> ```
|
||||||
|
|
||||||
After Homebrew installation, run:
|
After Homebrew installation, run:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|||||||
+2
-2
@@ -276,9 +276,9 @@
|
|||||||
<div class="glass p-6 rounded-xl">
|
<div class="glass p-6 rounded-xl">
|
||||||
<h3 class="font-semibold text-gray-900 dark:text-gray-100 mb-3 flex items-center">
|
<h3 class="font-semibold text-gray-900 dark:text-gray-100 mb-3 flex items-center">
|
||||||
<i class="fas fa-beer mr-2 text-amber-500"></i>
|
<i class="fas fa-beer mr-2 text-amber-500"></i>
|
||||||
Homebrew (macOS/Linux)
|
Homebrew (macOS)
|
||||||
</h3>
|
</h3>
|
||||||
<pre class="bg-gray-900 text-gray-100 p-4 rounded-lg overflow-x-auto"><code>brew install lukaszraczylo/taps/lolcathost
|
<pre class="bg-gray-900 text-gray-100 p-4 rounded-lg overflow-x-auto"><code>brew install --cask lukaszraczylo/taps/lolcathost
|
||||||
sudo lolcathost --install</code></pre>
|
sudo lolcathost --install</code></pre>
|
||||||
</div>
|
</div>
|
||||||
<div class="glass p-6 rounded-xl">
|
<div class="glass p-6 rounded-xl">
|
||||||
|
|||||||
Reference in New Issue
Block a user