Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/test-on-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: setup node
uses: actions/setup-node@v4
with:
node-version: 18
node-version: 24
- name: install Rust stable
uses: dtolnay/rust-toolchain@stable
with:
Expand Down Expand Up @@ -71,7 +71,7 @@ jobs:
- name: setup node
uses: actions/setup-node@v4
with:
node-version: 18
node-version: 24
- name: install dependencies
run: |
sudo apt-get update
Expand Down
5 changes: 5 additions & 0 deletions test/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,11 @@
let commandId = 0, pendingCommands = {};
if(window.__TAURI__){
window.__TAURI__.path.resolveResource("node-src/index.js").then(async nodeSrcPath=>{
// Strip Windows UNC prefix (\\?\) that Tauri adds on Windows
// Node 24 doesn't handle UNC paths correctly in module resolution
if (window.IS_WINDOWS && nodeSrcPath.startsWith('\\\\?\\')) {
nodeSrcPath = nodeSrcPath.slice(4);
}
command = new window.__TAURI__.shell.Command('node', ['--inspect', nodeSrcPath]);
command.on('close', data => {
window.isNodeTerminated = true;
Expand Down
Loading