Comments (1)
I'm circling back to the extension stuff at the moment, mostly because I'm on an underpowered Mac for a few weeks, and building all of the extensions every time I build Hammerspoon, is driving me crazy.
So, I'm (for probably the 4th or 5th time) attacking the problem of how to get Xcode to build the extensions natively, instead of using scripts and Makefiles.
I think we need to make this change eventually, and I'm happy to do the work now, but it is going to need some changes in the structure of our app bundle. It doesn't have to mean any changes for third party modules though, so let's not get worried about that.
Given the current experiment I have going, I believe I can get the extensions to build as dylibs (really just a .so) and be copied into the app bundle, but I'm not sure I can easily preserve the structure of Resources/extensions/hs/
Right now it's looking like we'll continue to have Resources/extensions/hs/foo/init.lua, but then the C part will be Resources/extensions/hs/libfoo.dylib, which means the init.lua would need to have a different require() for its companion C library. This is a slightly wrinkle for anyone who's doing external builds of an extension we ship, but I'm not sure if anyone is actually doing that ( @asmagill ?)
I'll keep banging at it and see what I can come up with, but ultimately I think I would prefer to disturb the third party workflow, to get our build system under control.
from hammerspoon.
Related Issues (20)
- New revision of Stream Deck XL with a new PID not supported HOT 1
- Various small questions about the hs.wifi module HOT 5
- Hammerspoon hangs spradically when entering hyper mode and displaying a modal window HOT 7
- Subject: Difficulty Keeping Notifications Persistent and Moving Them to Notification Center
- hs.network.ping.ping blocks callback function of timer HOT 3
- hs.audiodevice state is particular to Hammerspoon object, not audio device (Documation clarification needed) HOT 1
- MacOS killing Hammerspoon due to high CPU usage? HOT 7
- Print statements hanging Hammerspoon and triggering memory leak HOT 7
- HIDAPI module wrapper / Surface Dial support
- No arrows in submenus HOT 2
- hs.grid alphanumeric keys ignored on Sonoma 14.1.2 HOT 2
- Feature request: allow multiple key bindings for a single function in `hs.spoons.bindHotkeysToSpec` HOT 3
- Tucking Apps HOT 1
- switcher.ui.highlight rounded corners? HOT 2
- windowfilter.focusWindow* methods hang for ~10s HOT 9
- Can the animations be turned off when using `hs.application:activate`? HOT 3
- Race condition on the hotkey `ctrl+alt+cmd+shift+.`
- Inconsistent Behavior of `win:application()` for Exited Applications Inside vs. Outside Coroutines
- `app:hide()` not work for some specific apps and always returns `false`
- Would be great to know when an iPad is available to use as a sidecar HOT 2
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 hammerspoon.