fix: add interpreter to desktop package so it publishes

This commit is contained in:
Jonathan Kelley committed 2022-01-29 10:23:41 -05:00
1 parent 56f3002aed
commit 06723ad63f
2 files changed
+549 -1

No files matched your search

+1 -1
View File
@@ -220,7 +220,7 @@ pub fn launch_with_props<P: 'static + Send>(
} else if trimmed == "index.js" {
wry::http::ResponseBuilder::new()
.mimetype("text/javascript")
.body(include_bytes!("../../jsinterpreter/interpreter.js").to_vec())
.body(include_bytes!("./interpreter.js").to_vec())
} else {
// Read the file content from file path
use std::fs::read;