Comments (3)
Thanks for the report. I can see that it isn't recognizing that koneko-url-login
should handle the pixiv://
URI, because it's still using the linux commands.
Chromium displaying a blank page is partially "expected behavior" because it is supposed to launch koneko-url-login
, but it wasn't properly registered.
I've successfully tested with a clean koneko config so I can confirm pixiv didn't change their APIs
I'll have a look at the mime type code for now, stay tuned
from koneko.
Thanks for the quick response! Good to know it wasn’t due to any configuration issue on my end. I’d be happy to test anything needed.
from koneko.
The code indeed only works for linux, there was no alternative commands for macOS. I think it'll be better and easier to just use the last item on the troubleshooting section: use this script and
Copy the example config to ~/.config/koneko, and add the line
refresh_token=XXXX
under the [Credentials] section.
IMO the time and effort it takes to do increasingly bold hacks isn't worth it, especially when I'm not familiar with macOS, but I'll keep this issue open and I still welcome any PRs to fix this.
- https://stackoverflow.com/questions/10597144/how-to-register-an-application-to-a-uri-scheme-in-mac-os-x
- https://superuser.com/questions/548119/how-do-i-configure-custom-url-handlers-on-os-x
Many solutions for macOS relies on small utility apps to do the job instead of programmatic/command line. While I can ask users to install GUIs, it just seems much more of a hassle than just using the script above.
https://developer.apple.com/documentation/xcode/defining-a-custom-url-scheme-for-your-app
Apple's instructions on registering a custom URI scheme is to use the xcode GUI. There are several problems with this: koneko is not written in xcode, and I don't have access to xcode.
https://stackoverflow.com/questions/1991072/how-to-handle-with-a-default-url-scheme
Threads that are several years old offer a programmatic way, through the Info.plist file. But apparently one has to register it with Objective-C
This one offers a bit of hope. If you really want, can you try if either open scheme://test
or open -a App scheme://test
works?
from koneko.
Related Issues (6)
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 koneko.