v0.1.3 update roblox_emulator
This commit is contained in:
parent
9abe192d68
commit
98831ee2cf
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -518,7 +518,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "roblox_emulator_cli"
|
name = "roblox_emulator_cli"
|
||||||
version = "0.1.2"
|
version = "0.1.3"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"clap",
|
"clap",
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "roblox_emulator_cli"
|
name = "roblox_emulator_cli"
|
||||||
version = "0.1.2"
|
version = "0.1.3"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
repository = "https://git.itzana.me/StrafesNET/roblox_emulator_cli"
|
repository = "https://git.itzana.me/StrafesNET/roblox_emulator_cli"
|
||||||
license = "MIT OR Apache-2.0"
|
license = "MIT OR Apache-2.0"
|
||||||
|
@ -50,7 +50,7 @@ fn run_script(input_file:PathBuf)->anyhow::Result<()>{
|
|||||||
};
|
};
|
||||||
let (mut context,script,services)=roblox_emulator::context::Context::script_singleton(source);
|
let (mut context,script,services)=roblox_emulator::context::Context::script_singleton(source);
|
||||||
let runner=roblox_emulator::runner::Runner::new()?;
|
let runner=roblox_emulator::runner::Runner::new()?;
|
||||||
let runnable=runner.runnable_context(&mut context,&services)?;
|
let runnable=runner.runnable_context_with_services(&mut context,&services)?;
|
||||||
runnable.run_script(script)?;
|
runnable.run_script(script)?;
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user