Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installing from brew does not work(?) #22

Closed
electfreak opened this issue Jul 1, 2023 · 11 comments
Closed

Installing from brew does not work(?) #22

electfreak opened this issue Jul 1, 2023 · 11 comments

Comments

@electfreak
Copy link

What I did:

brew tap dracula/install
brew install --cask dracula-terminal

At the end:

The file /Users/electfreak/Dracula.terminal does not exist.
🍺  dracula-terminal was successfully installed!

Then I've tried to "import" profile but got nothing since I can't guess where file is located. I've triend to find a file with name "Dracula.terminal" but seems like there is no such. Theme did not appear in settings.

@benknoble
Copy link
Member

I'll have to take a look; that installer is separate from this repo and I can't recall if I've ever messed with it.

@benknoble
Copy link
Member

This must be the file https://github.com/dracula/homebrew-install/blob/main/Casks/dracula-terminal.rb

But I don't see a reference to ~/Dracula.terminal.

I don't remember; are there "verbose" or "debug" options you can pass to brew to give more detailed logs during the execution of the installer? I would really love to see more information :)

@benknoble
Copy link
Member

Actually, it might be the line open #{app} #{theme}; that seems wrong.

@benknoble
Copy link
Member

@electfreak can you try the following?

  1. brew edit dracula-terminal
  2. Change open -a #{app} #{theme} to open -a #{app} #{xml}, save
  3. Run brew install --cask dracula.terminal?

@electfreak
Copy link
Author

I'm sorry for late response. In that day I've made it somehow, I've found that file somehow. But it was unintuitive and I think you might want to know about such issue.

@ivasilov
Copy link

ivasilov commented Oct 9, 2023

This is still an issue. I'm getting the exact same error.

@benknoble
Copy link
Member

This is still an issue. I'm getting the exact same error.

Can you try the instructions in #22 (comment) ? (I know that recent brew has changed how files are stored/edited, but if someone can confirm the code changes we can get a PR up.)

@thebergamo
Copy link

The workaround presented in comment #22 doesn't work. :(
image

Just one remark here, you need to use: brew reinstall --cask dracula-terminal

@benknoble
Copy link
Member

Ah, crud. Seems xml holds the XML data, not the filename. Hm.

@thebergamo
Copy link

thebergamo commented Oct 26, 2023

Yeah, so the file name itself is just theme, but doing some try/catch here I could see that for example the Dracula.Terminal is not being found and even when it's found (forcing open from the file in Caskroom) it causes error saying that Apple cannot check the file form Malwares because it's an unidentified developer.

If I try to import the file directly it works fine.

@benknoble
Copy link
Member

Might be time to just recommend deprecating the formula, then. It's definitely not the easiest thing. I didn't even create it, and I certainly don't maintain it 😅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

4 participants