-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/GachaYTB/mddr
- Loading branch information
Showing
3 changed files
with
14 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
go back.... |