From 389afbf1c5bc5236cd555e1b8431cac3d9790296 Mon Sep 17 00:00:00 2001 From: Brice Dutheil Date: Sat, 27 Jan 2024 20:05:07 +0100 Subject: [PATCH] fix: distribution path --- .github/workflows/release.yml | 2 +- .../github/bric3/excalidraw/editor/LoadableJCEFHtmlPanel.kt | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index efa28e2..c11b95b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -61,7 +61,7 @@ jobs: - name: Upload Release Asset env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: gh release upload ${{ github.event.release.tag_name }} ./build/distributions/* + run: gh release upload ${{ github.event.release.tag_name }} ./plugin/build/distributions/* # Create a pull request - name: Create Pull Request diff --git a/plugin/src/main/kotlin/com/github/bric3/excalidraw/editor/LoadableJCEFHtmlPanel.kt b/plugin/src/main/kotlin/com/github/bric3/excalidraw/editor/LoadableJCEFHtmlPanel.kt index 8e0eb9e..b521eea 100644 --- a/plugin/src/main/kotlin/com/github/bric3/excalidraw/editor/LoadableJCEFHtmlPanel.kt +++ b/plugin/src/main/kotlin/com/github/bric3/excalidraw/editor/LoadableJCEFHtmlPanel.kt @@ -73,6 +73,9 @@ class LoadableJCEFHtmlPanel( frame: CefFrame?, transitionType: CefRequest.TransitionType? ) { + if (openDevtools) { + jbCefBrowser.openDevtools() + } alarm.addRequest( { jbCefBrowser.loadHTML(timeoutCallback!!) }, Registry.intValue("html.editor.timeout", 10000)