Coder Social home page Coder Social logo

Comments (2)

hunterlester avatar hunterlester commented on July 17, 2024

Yes, you are right about documentation needed for MacOS, thank you.

In our network browser, we obtain the passed argument either through Electron's second-instance event or Electron's MacOS-specific open-url event.

What kind of application are you building and which language?

from system_uri.

a-christie avatar a-christie commented on July 17, 2024

Thanks for the quick response!
I was using Electron until recently but am now directly using your code in a compiled Rust app as I don‘t really need a GUI and therefore Electron is a lot of unnecessary dead weight to ship.

I‘m trying to make a custom protocol that allows me to show files and folders in the native explorer from within the browser (Reveal in Finder on MacOS and Reveal in Explorer on Windows). I use a jsonwebtoken to verify that only my application can launch that kind of link.

My application works really well on Windows as on that platform when the application is launched via the URI Windows simply passes the whole URL as a argument to the app. However, this doesn‘t seem to work like that on MacOS.

Would you have any hints as to what I could try?

Thanks!

from system_uri.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.