Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
abrasic authored Jun 27, 2023
1 parent d3fe22d commit c63f2e0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions BlendPresence/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,7 @@ def getFileSize():

def getVersionStr():
ver = bpy.app.version
verC = bpy.app.version_char
return f"{ver[0]}.{ver[1]}.{ver[2]}{verC}"
return f"{ver[0]}.{ver[1]}.{ver[2]}"

def getRenderEngineStr():
i = bpy.context.engine
Expand Down Expand Up @@ -219,7 +218,8 @@ def updatePresence():
gpustr = gpustr.replace("NVIDIA GeForce ","")
gpustr = gpustr.split("/", 1)[0]
largeIconText = largeIconText + " | " + gpustr
elif gpustr and "Radeon" in gpustr:
elif gpustr and "AMD Radeon" in gpustr:
gpustr = gpustr.replace("AMD Radeon ","")
gpustr = gpustr.split("/", 1)[0]
largeIconText = largeIconText + " | " + gpustr

Expand Down

0 comments on commit c63f2e0

Please sign in to comment.