forked from anixart-mod/patcher
игнорирование недоделаных патчей, удаление лишних импортов
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
"""Change application icon"""
|
||||
priority = 0
|
||||
|
||||
import struct
|
||||
|
||||
|
||||
def float_to_hex(f):
|
||||
b = struct.pack(">f", f)
|
||||
return b.hex()
|
||||
|
||||
|
||||
def apply(config: dict) -> bool:
|
||||
assert float_to_hex(1.5) == "0x3fc00000"
|
||||
return False
|
||||
Reference in New Issue
Block a user