Comments (3)
the code signature of git-peek.app was broken, and it's not possible to apply a new signature, because git-peek-shim was in the wrong place within the bundle.
I didn't know that executable files have to go in a particular place within the .app
folder. Thanks for that. I updated the register script to write to that location instead.
Now, running git-peek via the Firefox extension opened BBEdit alright, but after the repo downloaded, it didn't show & was colored red, which in BBEdit means that a file has been deleted, in our case that the repo was deleted immediately after download.
Just pushed 1.3.18 which fixes this for BBEdit. From me manually testing, it seems to work however for some reason it opens in the background instead of the foreground when coming from the extension. I'm not sure if there's a CLI argument I can pass it that tells it to open in the foreground – happy to add it if you know of it/can link to some docs that show their CLI arguments. When I say "background", I just mean it doesn't gain focus.
If you run this, it should update:
brew upgrade git-peek
Closing but feel free to re-open if you have any more issues with BBEdit/doesn't fix
from git-peek.
Thank you. New problem now (still not working): git-peek apparently deletes the repo, and BBEdit still doesn't show anything. stdout tells me that git-peek "deleted repository".
Though BBEdit does open in the foreground on my system. That's the default behavior of open
, unless you specify -g
(open in background) or -gj
(open in bg & hidden), so I assume that the default in-foreground behavior should also apply to other open calls.
I noticed another problem with the code signature. Whenever changing anything that's nested in the .app bundle, e.g. writing the shim or changing the Info.plist, there needs to be a deep codesigning run at the very end, something like: codesign --force --deep --sign - foo
… i.e. codesign
shall always come last, and re-codesign shall occur after every config change by the user, if that entails a modification of nested bundle content.
from git-peek.
from git-peek.
Related Issues (20)
- Consider support to recognize repo's language to decide which editor to open HOT 1
- Pre-compiled `brew/git-peek` bloats the repository unnecessarily HOT 2
- Bad credentials? HOT 5
- Folder deleted before editor is closed HOT 2
- rmSync is not a function HOT 5
- [WSL] - Doesn't work with code-insiders HOT 5
- Open default GH branch HOT 3
- Add configuration for default $EDITOR override HOT 1
- brew install v npm HOT 1
- improve error message for unsupported EDITOR HOT 3
- can support download .git folder ? HOT 1
- URL handler not opening git-peak.app HOT 1
- Doesn't work on macOS with vim HOT 11
- Doesn't work with code-insiders HOT 1
- brew package HOT 6
- Feature Request: Open pull request in editor HOT 1
- Doesn't start on Fedora 33, ZSH, Node 14, yarn HOT 4
- [Feature Request] Configurable temp path HOT 1
- line 12: -S: command not found HOT 1
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 git-peek.