v0.1.3 update roblox_emulator

This commit is contained in:
Quaternions 2024-10-04 17:01:55 -07:00
parent 9abe192d68
commit 98831ee2cf
3 changed files with 3 additions and 3 deletions

2
Cargo.lock generated
View File

@ -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",

View File

@ -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"

View File

@ -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(())
} }