Comments (12)
Sorry, can't say if/how it works on Big Sur. I'm still on Catalina (and probably stay there until Apple comes back with a professional macOS version instead of the current iPad/Candy/Arcade design) where it works as described in the readme.
Did you check the logs for any hint of what exactly is not working?
from autoraise.
This is what it mentions:
The difference between Catalina and Big Sur is minimal under the hood. It is mainly, what you say, fancy eyecandy design. The same applies to Monterey (which I have now).
klaaspc:~/scratch/AutoRaise-launcher-v2.1.0 % g++ -O2 -Wall -fobjc-arc -o AutoRaise AutoRaise.mm -framework AppKit
AutoRaise.mm:58:22: warning: 'GetProcessForPID' is deprecated: first deprecated in macOS 10.9 [-Wdeprecated-declarations]
OSStatus error = GetProcessForPID(pid, &process);
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Processes.h:930:1: note: 'GetProcessForPID' has been explicitly marked deprecated here
GetProcessForPID(
^
AutoRaise.mm:59:19: warning: 'SetFrontProcessWithOptions' is deprecated: first deprecated in macOS 10.9 [-Wdeprecated-declarations]
if (!error) { SetFrontProcessWithOptions(&process, kSetFrontProcessFrontWindowOnly); }
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Processes.h:658:1: note: 'SetFrontProcessWithOptions' has been explicitly marked deprecated here
SetFrontProcessWithOptions(
^
2 warnings generated.
from autoraise.
You may want to try again with the update v2.5 code from upstream now integrated here as well.
from autoraise.
I tried it again with the original 2.1 zip and the updated Autoraise.mm.
g++ -O2 -Wall -fobjc-arc -o AutoRaise AutoRaise.mm -framework AppKit
Now no errors appeared. But no .app bundle is made yet.
from autoraise.
To build an app bundle, you need to open the xcode project in the launcher subfolder and build it in xcode. The gcc command only builds the CLI application from upstream, not the menu bar app.
I had hoped to explain that well enough in the readme: "Simply clone, open and build this project in XCode."
from autoraise.
There are no instructions. I find some files in Launcher, I guessed and tried the .swift file and that opened Xcode, but how can I make the bundle ?
from autoraise.
Yes, I assumed "open in Xcode" and "build in Xcode" would be sufficient and did not explain how to operate XCode, there are some good tutorials out there, already :-)
Off the top of my head:
- Launch XCode
- open the project via "CMD-O" or File>Open
- use the "Build" menu item to build it
- In the Project Explorer view on the left, you'll see the app bundle. Right-click on it and choose "View in Finder"
from autoraise.
I tried with xcode, but an app bundle is not made.
Can you publish an app bundle on Github ? Most developers do that, a ready to use app.
from autoraise.
I do not have a developer account with Apple, therefore cannot sign app bundles for use by others, sorry.
from autoraise.
Signing is not needed for macOS apps (unlike iOS apps), the user should just once notarize it, no developer account needed.
from autoraise.
Well, then try how far you get with https://github.com/lhaeger/AutoRaise/releases/tag/launcher-v2.5.0
from autoraise.
This bundle does not show any output at all, and also nothing in the menu bar, it appears to be a dummy.
from autoraise.
Related Issues (14)
- Add "Launch at login" option
- Add configurable hotkey support HOT 3
- Add option to sync settings into ~/.AutoRaise
- Feature request: Installer that does not require Xcode / MacPorts HOT 1
- Warp to center doesn't seem to work HOT 1
- Option to focus, but not autoraise? HOT 1
- Keyboard shortcut to enable/disable doesn't work
- Please update the app. HOT 8
- Create a homebrew formula HOT 5
- Conflict with PopClip HOT 2
- Contributing to the UI
- Delay time does not get saved after closing/restart HOT 2
- Need update for MacOS Sonoma HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from autoraise.