简体   繁体   中英

Can I use other languages(other than JavaScript) to create Gnome Shell Extensions?

I am creating a GNOME Shell Extension and want to use languages like C++/Golang rather than JavaScript to create it. It is also acceptable if I can somehow call/use the C++/go executable in my extension.js . Please tell me if this is even possible and if yes how?

The short answer is no.

You can't ship binaries with a GNOME Shell extension, because they are architecture dependent and can't be properly reviewed. You could write a library with GObject-Introspection and ship that separately, but still not bundled in an extension for the same reason.

If you're tempted to ship a binary with a GNOME Shell extension, there's a good chance you should just be writing an application.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM