Skip to content

Commit

Permalink
made file close in jar check
Browse files Browse the repository at this point in the history
also update requirements because github was yelling at me about it
  • Loading branch information
Neeko-iko committed Jul 4, 2023
1 parent 64dfed2 commit cfeca45
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@ env
javier.zip
Javier-windows.zip
whatTheHeckisaDS_Store
*.DS_Store
*.DS_Store
.venv
2 changes: 1 addition & 1 deletion Internals/Super Internals/JavierUI.ui
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
<enum>QTabWidget::Rounded</enum>
</property>
<property name="currentIndex">
<number>2</number>
<number>0</number>
</property>
<property name="documentMode">
<bool>true</bool>
Expand Down
5 changes: 3 additions & 2 deletions Internals/serverRelated.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,9 @@ def run(self):
for item in file:
check = ZipFile(f"{self.dire}/{self.server}/{item}", 'r')
check = check.open('META-INF/MANIFEST.MF', 'r')
check = check.readlines()
for line in check:
check.close()
chk = check.readlines() # honestly if i made this now things would be different
for line in chk:
if 'net.minecraft.server.MinecraftServer' in str(line):
file.remove(item)
jar = f"\"{self.dire}/{self.server}/{file[0]}\""
Expand Down
6 changes: 3 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
PySide6==6.4.1
requests==2.28.1
shiboken6==6.4.1
PySide6==6.5.1.1
requests==2.31.0
shiboken6==6.5.1.1

0 comments on commit cfeca45

Please sign in to comment.