hoc-sys: add extra features to overlay
This commit is contained in:
@@ -44,10 +44,10 @@ import misc
|
||||
true = True
|
||||
false = False
|
||||
|
||||
# if getattr(sys, 'frozen', False):
|
||||
assets_path = os.path.join(sys._MEIPASS, 'assets/')
|
||||
# else:
|
||||
# assets_path = os.path.join(os.path.dirname(__file__), '../assets/')
|
||||
if getattr(sys, 'frozen', False):
|
||||
assets_path = os.path.join(sys._MEIPASS, 'assets/')
|
||||
else:
|
||||
assets_path = os.path.join(os.path.dirname(__file__), '../assets/')
|
||||
|
||||
cooler_image_path = assets_path + "coolerhd.png" # coolerHD Emoji from OC server
|
||||
cooler_image = Image.open(cooler_image_path).convert("RGBA")
|
||||
|
||||
@@ -60,6 +60,7 @@ freqs_mhz_cpu = [
|
||||
variables = [
|
||||
("custRev", "u32"),
|
||||
("mtcConf", "u32"),
|
||||
("hpMode", "u32"),
|
||||
("commonCpuBoostClock", "u32"),
|
||||
("commonEmcMemVolt", "u32"),
|
||||
("eristaCpuMaxVolt", "u32"),
|
||||
|
||||
Reference in New Issue
Block a user