Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/GachaYTB/mddr
Browse files Browse the repository at this point in the history
  • Loading branch information
3pm-on-github committed Apr 20, 2024
2 parents 2767c5d + 019ec16 commit 7befe8c
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 4 deletions.
15 changes: 12 additions & 3 deletions build.bat
Original file line number Diff line number Diff line change
@@ -1,7 +1,16 @@
@echo off
cargo build --release
echo Checking output...
mkdir built_mddr
move target\release\mddr.exe built_mddr\mddr.exe
echo Execution complete. Press any key to exit.
mkdir TEMP_BUILT_MDDR
move target\release\mddr.exe TEMP_BUILT_MDDR\mddr.exe
rmdir /s /q target
echo Successfully built mddr.exe. Zipping files into zip file...
cd TEMP_BUILT_MDDR
for /f "tokens=3,2,4 delims=/- " %%x in ("%date%") do set d=%%y%%x%%z
set data=%d%
"C:\Program Files\7-Zip\7z.exe" a -tzip "./MDDR.zip" "./mddr.exe"
cd ..
move TEMP_BUILT_MDDR\MDDR.zip ./
rmdir /s /q TEMP_BUILT_MDDR
echo Successfully built mddr. Press enter to exit.
pause >nul
2 changes: 1 addition & 1 deletion src/mods/spwn22/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ fn modfeature2() -> Result<(), Box<dyn std::error::Error>> {

pub fn init() -> io::Result<()> {
println!("SPWN 2.2");
println!("1. Upgrade group limit");
println!("1. Upgrade group limit (old spwn versions (<0.8) only)");
println!("2. Add end trigger");
println!("3. All above this");
println!("4. Exit");
Expand Down
1 change: 1 addition & 0 deletions test zone/a place to test spwn code
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
go back....

0 comments on commit 7befe8c

Please sign in to comment.