feat: update code to work with new libs
Some checks failed
Build and Test / release (pull_request) Blocked by required conditions
Build and Test / build (pull_request) Failing after 24s

This commit is contained in:
Lucas Oskorep
2026-01-29 02:41:59 -05:00
parent b8e861cf9e
commit 7773c3b808
2 changed files with 3 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
import Meta from 'gi://Meta'; import Meta from 'gi://Meta';
import {Extension, ExtensionMetadata} from 'resource:///org/gnome/shell/extensions/extension.js'; import {Extension} from 'resource:///org/gnome/shell/extensions/extension.js';
import * as Main from 'resource:///org/gnome/shell/ui/main.js'; import * as Main from 'resource:///org/gnome/shell/ui/main.js';
import Gio from 'gi://Gio'; import Gio from 'gi://Gio';
import Shell from 'gi://Shell'; import Shell from 'gi://Shell';
@@ -11,7 +11,7 @@ export default class aerospike extends Extension {
keyBindings: Map<string, number>; keyBindings: Map<string, number>;
windowManager: WindowManager; windowManager: WindowManager;
constructor(metadata: ExtensionMetadata) { constructor(metadata: ConstructorParameters<typeof Extension>[0]) {
super(metadata); super(metadata);
this.settings = this.getSettings('org.gnome.shell.extensions.aerospike'); this.settings = this.getSettings('org.gnome.shell.extensions.aerospike');
this.keyBindings = new Map(); this.keyBindings = new Map();

View File

@@ -8,7 +8,7 @@ packages:
build: packages && build-schemas build: packages && build-schemas
rm -rf dist/* rm -rf dist/*
tsc pnpm exec tsc
cp metadata.json dist/ cp metadata.json dist/
cp stylesheet.css dist/ cp stylesheet.css dist/
mkdir -p dist/schemas mkdir -p dist/schemas