Update flake
This commit is contained in:
parent
246483e3d9
commit
19d0f83427
4 changed files with 29 additions and 30 deletions
|
|
@ -46,7 +46,7 @@ pkgs.kdePackages.callPackage (
|
|||
lib.makeSearchPath "lib/qt-6/qml" [
|
||||
qtmultimedia
|
||||
qtwebchannel
|
||||
qtwebengine
|
||||
qtwebengine.dev
|
||||
qtwebsockets
|
||||
]
|
||||
}"
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ diff --git a/plugin/contents/pyext.py b/plugin/contents/pyext.py
|
|||
old mode 100644
|
||||
new mode 100755
|
||||
diff --git a/plugin/contents/ui/Pyext.qml b/plugin/contents/ui/Pyext.qml
|
||||
index 1a48f5e..8a9c9c9 100644
|
||||
index 1a48f5e..7db2480 100644
|
||||
--- a/plugin/contents/ui/Pyext.qml
|
||||
+++ b/plugin/contents/ui/Pyext.qml
|
||||
@@ -15,7 +15,8 @@ Item {
|
||||
|
|
@ -22,16 +22,16 @@ index 1a48f5e..8a9c9c9 100644
|
|||
"[ -f \"$HOME/.local/share/$EXT\" ] && WKD=\"$HOME/.local/share/$EXT\"",
|
||||
"[ -f \"$XDG_DATA_HOME/$EXT\" ] && WKD=\"$XDG_DATA_HOME/$EXT\"",
|
||||
- `exec python3 "$WKD" "${ws_server.url}"`
|
||||
+ "[ -f \"NIX_STORE_PACKAGE_PATH/share/$EXT\" ] && WKD=\"NIX_STORE_PACKAGE_PATH/share/$EXT\"",
|
||||
+ "[ -f \"NIX_STORE_PACKAGE_PATH/share/$EXT\" ] && WKD=\"NIX_STORE_PACKAGE_PATH/share/$EXT\"",
|
||||
+ `"$WKD" "${ws_server.url}"`
|
||||
].join("\n");
|
||||
return sh;
|
||||
}
|
||||
diff --git a/src/plugin.cpp b/src/plugin.cpp
|
||||
index 5e8a7e2..1709a27 100644
|
||||
index 4bc817e..2fa88a3 100644
|
||||
--- a/src/plugin.cpp
|
||||
+++ b/src/plugin.cpp
|
||||
@@ -13,6 +13,18 @@ class Port : public QQmlExtensionPlugin {
|
||||
@@ -14,6 +14,18 @@ class Port : public QQmlExtensionPlugin {
|
||||
Q_PLUGIN_METADATA(IID QQmlExtensionInterface_iid)
|
||||
|
||||
public:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue