Disable the auto suspend when lid is closed
Note: Binary files aren't shown on the web site. To see all files, please download the extension zipfile.
Version | Status |
---|---|
2 | Active |
1 | Active |
Looks good. Some tips: * The methods from convenience.js are now a part of gnome-shell in `extensionUtils.js` * `Lang.Class` is unnecessary and you can you use `GObject.registerClass()` for subclassing * https://wiki.gnome.org/Projects/GnomeShell/Extensions/MigratingShellClasses * `Lang.bind()` can be replaced with `Function.prototype.bind()` or arrow functions `() => {}` instead * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_objects/Function/bind * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/Arrow_functions
Thanks for the review and tips. I updated extension.js with your suggestions and pushed the new version to github. How do I submit the new version here?
Just increment the version in `metadata.json` before you pack up the ZIP and upload at the same place (https://extensions.gnome.org/upload/). The website will know its the same extension by the UUID field :)