Skip to content

Commit c66f435

Browse files
WrapperExe: don't set global LEGENDARY_WRAPPER_EXE after downloading an update
1 parent 80f2b32 commit c66f435

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

rare/models/wrapper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def __eq__(self, other) -> bool:
6969
return self.as_str == other.as_str
7070

7171
def __hash__(self):
72-
return hash(self.__command)
72+
return hash(" ".join(self.__command))
7373

7474
def __bool__(self) -> bool:
7575
return True if not self.is_editable else bool(self.as_str.strip())

rare/utils/wrapper_exe.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ def download_lgd_wrapper() -> bool:
5555
try:
5656
resp = requests.get(download_url, timeout=5)
5757
wrapper_path().write_bytes(resp.content)
58-
config.set_envvar('default', 'LEGENDARY_WRAPPER_EXE', str(wrapper_path))
5958
except requests.exceptions.Timeout:
6059
return False
6160

0 commit comments

Comments
 (0)