fix(gtk-session-lock): make types use correct @girs types
All checks were successful
Discord / discord commits (push) Has been skipped
All checks were successful
Discord / discord commits (push) Has been skipped
This commit is contained in:
parent
bab5698f39
commit
4e1ad1c8f6
3 changed files with 8 additions and 3 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -1,7 +1,7 @@
|
|||
*.egg-info
|
||||
*.temp
|
||||
*node_modules/
|
||||
*types
|
||||
**/types
|
||||
*build/
|
||||
result*
|
||||
*config.js
|
||||
|
|
|
@ -161,7 +161,6 @@ const createWindow = (monitor: Gdk.Monitor) => {
|
|||
const win = PasswordPrompt(monitor);
|
||||
|
||||
windows.push(win);
|
||||
// @ts-expect-error should be fine
|
||||
lock.new_surface(win, monitor);
|
||||
win.show();
|
||||
};
|
||||
|
|
|
@ -27,6 +27,12 @@ buildNpmPackage {
|
|||
"-g ${gdk-pixbuf.dev}/share/gir-1.0"
|
||||
"-g ${harfbuzz.dev}/share/gir-1.0"
|
||||
"-g ${atk.dev}/share/gir-1.0"
|
||||
]} -o $out
|
||||
]} -e gjs -o ./types
|
||||
|
||||
mkdir -p $out
|
||||
cp ./types/gtksessionlock* $out/
|
||||
|
||||
substituteInPlace $out/gtksessionlock* --replace-warn \
|
||||
"from '." "from '@girs"
|
||||
'';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue