zalckos / GrandTheftFocus

GNOME extension. Removes the 'Window is ready' notification and brings the window into focus instead.
GNU Affero General Public License v3.0
80 stars 1 forks source link

Port to GNOME 45 #8

Closed stuarthayhurst closed 1 year ago

stuarthayhurst commented 1 year ago

GNOME 45 has a large number of changes, but this extension is only affected by the ones that affect every extension.

GNOME now uses ESM imports, and the extension must export a default class. This wasn't required by GNOME 45 alpha, but GNOME 45 beta and onwards requires it, so a simple metadata change won't manage for this version.

Unfortunately, this means that every version pre-GNOME 45 has to be dropped, as ESM imports can't be supported at the same time as the old style imports.

Tested on Fedora Rawhide, works perfectly :)

zalckos commented 1 year ago

Thanks :)