added new games

This commit is contained in:
Death916 2020-05-02 15:54:54 -07:00
parent a1e0d40917
commit 14216daf2d

View file

@ -10,7 +10,9 @@ import psutil
gameList = {"gears": "gears5.exe", gameList = {"gears": "gears5.exe",
"outer_worlds": "IndianaWindowsStore-Win64-Shipping.exe", "outer_worlds": "IndianaWindowsStore-Win64-Shipping.exe",
"total_war": "Three_Kingdoms.exe", "total_war": "Three_Kingdoms.exe",
"poe": "PathOfExile_x64Steam" "poe": "PathOfExile_x64Steam",
"valorant": "VALORANT-Win64-Shipping.exe",
"Fallout 76": "fallout76.exe"
} }
@ -46,7 +48,7 @@ def findProcessIdByName(processName):
pass pass
return listOfProcessObjects return listOfProcessObjects
#check if miner is already running
def checkminer(): def checkminer():
minercheck = findProcessIdByName('ccminer.exe') minercheck = findProcessIdByName('ccminer.exe')
if minercheck == []: if minercheck == []:
@ -55,6 +57,7 @@ def checkminer():
return "running" return "running"
def killminer(): def killminer():
miner = findProcessIdByName('ccminer.exe') miner = findProcessIdByName('ccminer.exe')
pid = miner[0]['pid'] pid = miner[0]['pid']
@ -136,5 +139,6 @@ while True:
#TODO:check temp #TODO:check temp
#TODO: if no network kill and wait #TODO: if no network kill and wait
#TODO: test check_evga(), get to work with uac on #TODO: test check_evga(), get to work with uac on
#TODO: make sure evga goes to 100 when game starts
## log #TODO: log
#TODO: maybe make gui ???? maybe just exe