add warning log on activation for unsupported GNOME Shell versions
As the extension may work in further GNOME Shell versions without targeted developpement, just add a small warning log without blocking anything.
This commit is contained in:
parent
a128664921
commit
1d95fac3bf
|
|
@ -55,6 +55,9 @@ function init() {
|
|||
}
|
||||
|
||||
function enable() {
|
||||
if (ExtensionUtils.isOutOfDate(Me))
|
||||
log(`${Me.metadata.uuid}: GNOME Shell ${Number.parseFloat(GS_VERSION)} is not supported.`);
|
||||
|
||||
Me.settings = Convenience.getSettings();
|
||||
Me.internalShortcutSettings = Convenience.getSettings(Me.metadata['settings-schema'] + '.internal-shortcuts');
|
||||
Me.drawingSettings = Convenience.getSettings(Me.metadata['settings-schema'] + '.drawing');
|
||||
|
|
|
|||
Loading…
Reference in New Issue