Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
シェル拡張で複数の GNOME バージョンをサポートしたいと考えています。実行されている GNOME のバージョンを検出し、コードを適切に分岐するにはどうすればよいですか?
const Config = imports.misc.config; if (Config.PACKAGE_VERSION.startsWith("3.42")) // etc.