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",
"outer_worlds": "IndianaWindowsStore-Win64-Shipping.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
return listOfProcessObjects
#check if miner is already running
def checkminer():
minercheck = findProcessIdByName('ccminer.exe')
if minercheck == []:
@ -55,6 +57,7 @@ def checkminer():
return "running"
def killminer():
miner = findProcessIdByName('ccminer.exe')
pid = miner[0]['pid']
@ -136,5 +139,6 @@ while True:
#TODO:check temp
#TODO: if no network kill and wait
#TODO: test check_evga(), get to work with uac on
## log
#TODO: make sure evga goes to 100 when game starts
#TODO: log
#TODO: maybe make gui ???? maybe just exe