Skip to content

Commit

Permalink
change folder
Browse files Browse the repository at this point in the history
  • Loading branch information
Hebrew-uBO-User authored Sep 23, 2024
1 parent e2167cf commit dc7aaf9
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions create.bat
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
@echo off
cd %~p0
python tools\addChecksum.py EasyListHebrew.txt TempList.txt
python tools\validateChecksum.py TempList.txt
python .github\scripts\addChecksum.py EasyListHebrew.txt TempList.txt
python .github\scripts\validateChecksum.py TempList.txt
IF ERRORLEVEL 1 GOTO errorHandling
move /y TempList.txt EasyListHebrew.txt
python tools\genhosts.py EasyListHebrew.txt
python .github\scripts\genhosts.py EasyListHebrew.txt
exit
:errorHandling
echo Something Went Wrong!
Expand Down
6 changes: 3 additions & 3 deletions create.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#!/bin/bash
tmpList=$(mktemp)
python3 tools/addChecksum.py EasyListHebrew.txt $tmpList
python3 tools/validateChecksum.py $tmpList
python3 .github/scripts/addChecksum.py EasyListHebrew.txt $tmpList
python3 .github/scripts/validateChecksum.py $tmpList
if [ $? == 0 ] ; then
mv -f $tmpList EasyListHebrew.txt
else
echo 'something went wrong'
fi
python3 tools/genhosts.py EasyListHebrew.txt
python3 .github/scripts/genhosts.py EasyListHebrew.txt
2 changes: 1 addition & 1 deletion general.bat
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
@echo off
python tools\generalFinder.py > general.txt
python .github\scripts\generalFinder.py > general.txt
2 changes: 1 addition & 1 deletion general.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/bin/bash
python3 tools/generalFinder.py general.txt
python3 .github/scripts/generalFinder.py general.txt

0 comments on commit dc7aaf9

Please sign in to comment.