dimentium / homebrew-autoraise Goto Github PK
View Code? Open in Web Editor NEWFormula and cask for https://github.com/sbmpost/AutoRaise
Formula and cask for https://github.com/sbmpost/AutoRaise
$ brew services start dimentium/autoraise/autoraise
Error: undefined method `plist_startup' for #<Formula autoraise (stable) /opt/homebrew/Library/Taps/dimentium/homebrew-autoraise/autoraise.rb>
Did you mean? plist_name
/opt/homebrew/Library/Taps/homebrew/homebrew-services/lib/service/formula_wrapper.rb:71:in `service_startup?'
/opt/homebrew/Library/Taps/homebrew/homebrew-services/lib/service/services_cli.rb:280:in `service_load'
/opt/homebrew/Library/Taps/homebrew/homebrew-services/lib/service/services_cli.rb:122:in `block in start'
/opt/homebrew/Library/Taps/homebrew/homebrew-services/lib/service/services_cli.rb:97:in `each'
/opt/homebrew/Library/Taps/homebrew/homebrew-services/lib/service/services_cli.rb:97:in `start'
/opt/homebrew/Library/Taps/homebrew/homebrew-services/lib/service/commands/start.rb:12:in `run'
/opt/homebrew/Library/Taps/homebrew/homebrew-services/cmd/services.rb:130:in `services'
/opt/homebrew/Library/Homebrew/brew.rb:86:in `<main>'
And:
brew config
HOMEBREW_VERSION: 4.2.0
ORIGIN: https://github.com/Homebrew/brew
HEAD: ff899e5b3ff6731208564ef502db237e2627e8ba
Last commit: 6 days ago
Core tap JSON: 24 Dec 10:33 UTC
HOMEBREW_PREFIX: /opt/homebrew
HOMEBREW_CASK_OPTS: []
HOMEBREW_EDITOR: /opt/homebrew/bin/nvim
HOMEBREW_MAKE_JOBS: 14
Homebrew Ruby: 3.1.4 => /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.1.4/bin/ruby
CPU: 14-core 64-bit dunno
Clang: 15.0.0 build 1500
Git: 2.43.0 => /opt/homebrew/bin/git
Curl: 8.4.0 => /usr/bin/curl
macOS: 14.2.1-arm64
CLT: 15.1.0.0.1.1700200546
Xcode: N/A
Rosetta 2: false
Same error mentioned here: https://stackoverflow.com/questions/77659527/mongodb-via-brew-services-undefined-method-plist-startup
It looks like you might need to update the formula.
Building it with that allows "alternative" task switchers (basically, anything that brings an app to the foreground) to use the warp
feature effectively.
==> make clean
==> make
Last 15 lines from /Users/user/Library/Logs/Homebrew/autoraise/02.make:
^
AutoRaise.mm:1046:37: error: use of undeclared identifier 'is_chrome_app'
is_chrome_app(frontmostApp.bundleIdentifier));
^
AutoRaise.mm:1048:87: error: use of undeclared identifier 'focusedWindow_psn'
OSStatus error = GetProcessForPID(frontmost_pid, &focusedWindow_psn);
^
AutoRaise.mm:1049:51: error: use of undeclared identifier '_focusedWindow_psn'
if (!error) { _focusedWindow_psn = &focusedWindow_psn; }
^
AutoRaise.mm:1049:73: error: use of undeclared identifier 'focusedWindow_psn'
if (!error) { _focusedWindow_psn = &focusedWindow_psn; }
^
6 errors generated.
make: *** [AutoRaise] Error 1
Hey! I installed it using your guide autoraise and now want to uninstall it.
Do you know how I can do this?
What would be the correct method to add flags to
<string>/opt/homebrew/opt/autoraise/bin/AutoRaise</string>
I would like to just add focusDelay
Thank you!
Installing from the .dmg places an icon in the menu bar to toggle whether AutoRaise will focus windows or not. Installing from this tap does not. Is it possible to get a version or flag to provide the menu bar icon?
Warning: Calling plist_options is deprecated! Use service.require_root instead.
Please report this issue to the dimentium/autoraise tap (not Homebrew/brew or Homebrew/homebrew-core), or even better, submit a PR to fix it:
/opt/homebrew/Library/Taps/dimentium/homebrew-autoraise/autoraise.rb:29
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.