fix: add interpreter to desktop package so it publishes
This commit is contained in:
1 parent
56f3002aed
commit
06723ad63f
2 files changed
+549
-1
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user