withfig / fig

Public issue tracker for Fig.
https://fig.io
MIT License
2.05k stars 63 forks source link

Homebrew uninstall failed #1161

Closed liuziangexit closed 2 years ago

liuziangexit commented 2 years ago

Sanity checks

Issue Details

I installed it with Homebrew now I am trying to uninstall it with the following command: brew uninstall homebrew/cask/fig

it responded with:

==> Uninstalling Cask fig
==> Running uninstall script /Applications/Fig.app/Contents/Resources/uninstall.
Error: uninstall script /Applications/Fig.app/Contents/Resources/uninstall.sh does not exist.

I ve checked whether the uninstall.sh is there with the following command: ls /Applications/Fig.app/Contents/Resources/ |grep uninstall and turns out there is no such file.

Environment

# Fig Diagnostics
## Fig details:
  - Fig version: Version 1.0.56 (B414) [ABC]
  - Bundle path: /Applications/Fig.app
  - Autocomplete: true
  - Settings.json: true
  - Accessibility: false
  - Number of specs: 0
  - Symlinked dotfiles: false
  - Only insert on tab: false
  - Keybindings path: 
  - Installation Script: true
  - PseudoTerminal Path: <generated dynamically>
  - SecureKeyboardInput: false
  - SecureKeyboardProcess: <none>
## Hardware Info:
  - Model Name: MacBook Pro
  - Model Identifier: MacBookPro16,1
  - Chip: 
  - Cores: 8
  - Memory: 32 GB
## OS Info:
  - macOS 10.15.7 (19H1824)
## Environment:
  - User Shell: /bin/bash
  - Current Directory: /Users/username
  - CLI Installed: true
  - Executable Location: /usr/local/bin/fig
  - Current Window ID: ???
  - Active Process: ??? (???) - ???
  - Installed via Brew: true
  - Environment Variables:
    - TERM=xterm-256color
    - TERM_SESSION_ID=DC4576E7-4989-4EC0-8FAB-4E0180FD3B8B
    - PATH=/usr/local/opt/openjdk/bin:/Users/username/.rbenv/shims:/Users/username/google-cloud-sdk/bin:/usr/local/opt/texinfo/bin:/usr/local/opt/e2fsprogs/sbin:/usr/local/opt/e2fsprogs/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/VMware Fusion.app/Contents/Public:/Library/TeX/texbin:/usr/local/MacGPG2/bin:/usr/local/share/dotnet:~/.dotnet/tools:/Library/Apple/usr/bin:/Applications/Wireshark.app/Contents/MacOS
## Integrations:
  - SSH: false
  - TMUX: false
  - iTerm: application is not present.
  - Hyper: application is not present.
  - Visual Studio Code: installed!
  - Docker: false
liuziangexit commented 2 years ago

I think this should be a bug but I don't see a BUG label to assign

mschrage commented 2 years ago

Hey @liuziangexit. It seems like your version of Homebrew is out of date and doesn't have the latest information for Fig. (Run homebrew update)

In the meantime, if you want to uninstall Fig just run fig uninstall while the macOS app is open.

liuziangexit commented 2 years ago

thanks