diff options
Diffstat (limited to 'lang/gjs')
-rw-r--r-- | lang/gjs/meson.build | 3 | ||||
-rw-r--r-- | lang/gjs/package.json | 2 | ||||
-rw-r--r-- | lang/gjs/src/gtk3/app.ts | 2 | ||||
-rw-r--r-- | lang/gjs/src/gtk4/app.ts | 2 | ||||
-rw-r--r-- | lang/gjs/tsconfig.json | 4 |
5 files changed, 7 insertions, 6 deletions
diff --git a/lang/gjs/meson.build b/lang/gjs/meson.build index 388b301..7134dc0 100644 --- a/lang/gjs/meson.build +++ b/lang/gjs/meson.build @@ -14,9 +14,10 @@ install_data( 'src/process.ts', 'src/time.ts', 'src/variable.ts', + 'src/_app.ts', ], install_dir: dest, ) install_subdir('src/gtk3', install_dir: dest) -# install_subdir('src/gtk4', install_dir: dest) +install_subdir('src/gtk4', install_dir: dest) diff --git a/lang/gjs/package.json b/lang/gjs/package.json index 9f44388..da88d90 100644 --- a/lang/gjs/package.json +++ b/lang/gjs/package.json @@ -17,7 +17,7 @@ "exports": { ".": "./index.ts", "./gtk3": "./src/gtk3/index.ts", - "./gtk4": "./src/gtk3/index.ts", + "./gtk4": "./src/gtk4/index.ts", "./binding": "./src/binding.ts", "./file": "./src/file.ts", "./gobject": "./src/gobject.ts", diff --git a/lang/gjs/src/gtk3/app.ts b/lang/gjs/src/gtk3/app.ts index ccf714c..aa43641 100644 --- a/lang/gjs/src/gtk3/app.ts +++ b/lang/gjs/src/gtk3/app.ts @@ -1,6 +1,6 @@ import Gtk from "gi://Gtk?version=3.0" import Astal from "gi://Astal?version=3.0" -import { mkApp } from "src/_app" +import { mkApp } from "../_app" Gtk.init(null) diff --git a/lang/gjs/src/gtk4/app.ts b/lang/gjs/src/gtk4/app.ts index ad3c1cb..1c51772 100644 --- a/lang/gjs/src/gtk4/app.ts +++ b/lang/gjs/src/gtk4/app.ts @@ -1,6 +1,6 @@ import Gtk from "gi://Gtk?version=4.0" import Astal from "gi://Astal?version=4.0" -import { mkApp } from "src/_app" +import { mkApp } from "../_app" Gtk.init() diff --git a/lang/gjs/tsconfig.json b/lang/gjs/tsconfig.json index 3d5ade5..4e57e37 100644 --- a/lang/gjs/tsconfig.json +++ b/lang/gjs/tsconfig.json @@ -11,8 +11,8 @@ "include": [ "@girs", "src/*.ts", - "src/gtk3/*", - "src/gtk4/*", + // "src/gtk3/*", + // "src/gtk4/*", "index.ts", ] } |