mirror of
https://github.com/edu4rdshl/Strata.git
synced 2026-07-17 23:24:46 +00:00
fix: bundle dbus.js in the pack and share logError via util.js
extension.js imports ./dbus.js, but gnome-extensions pack never bundled it, so the packed extension (the EGO zip) was missing the module and would fail to load. Add dbus.js and the new util.js to the pack sources. util.js holds the shared logError helper, replacing the per-file copies in extension.js and panel.js and the raw console.error calls in clipboardItem.js.
This commit is contained in:
parent
c9f3b6b1ad
commit
3d41f39ad9
5 changed files with 20 additions and 17 deletions
2
Makefile
2
Makefile
|
|
@ -37,6 +37,8 @@ install: schemas
|
|||
pack: schemas
|
||||
gnome-extensions pack $(EXTENSION_UUID) \
|
||||
--extra-source=ui \
|
||||
--extra-source=dbus.js \
|
||||
--extra-source=util.js \
|
||||
--extra-source=light.css \
|
||||
--force
|
||||
@echo "Packed: $(EXTENSION_UUID).shell-extension.zip"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue