Skip to content
This repository was archived by the owner on Mar 24, 2025. It is now read-only.

Commit b4bb212

Browse files
committed
1.0.5.1
1 parent 8f36d72 commit b4bb212

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

sirsquirrel.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,14 @@
1515

1616
def update():
1717
r = requests.get("https://api.github.com/repos/Samsterr/SirSquirrelAssistant/releases/latest")
18-
tag = "1.0.5.0.2"
18+
tag = "1.0.5.1"
1919
r_tag = r.json()["tag_name"]
2020
if r_tag != tag:
2121
print("A New Version is Available! Downloading it to your current folder")
2222
r = requests.get("https://github.com/Samsterr/SirSquirrelAssistant/releases/download/" + r_tag + "/sirsquirrel.7z")
2323
with open("sirsquirrel.7z", "wb") as f:
2424
f.write(r.content)
2525
print("Download Completed. Please look for the 7z and update as per usual before continuing")
26-
os._exit(0)
2726

2827
def exit_program():
2928
print("\nHotkey pressed. Exiting the program...")

src/mirror.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -255,11 +255,8 @@ def pack_selection(self):
255255
self.logger.debug(common.luminence(x,y))
256256
refresh_flag = common.luminence(x,y) < 70
257257

258-
#if floor == "f4" and common.element_exist("pictures/mirror/packs/f4/yield.png"):
259-
# self.choose_pack("pictures/mirror/packs/f4/yield.png")
260-
#
261-
#elif floor == "f5" and common.element_exist("pictures/mirror/packs/f5/yield.png"):
262-
# self.choose_pack("pictures/mirror/packs/f5/yield.png")
258+
#if floor == "f5" and common.element_exist("pictures/mirror/packs/f5/nocturnal.png"):
259+
# self.choose_pack("pictures/mirror/packs/f5/nocturnal.png")
263260

264261
if self.exclusion_detection(floor) and not refresh_flag: #if pack exclusion detected and not refreshed
265262
self.logger.info("Pack exclusion detected, refreshing")

0 commit comments

Comments
 (0)