Skip to content
This repository has been archived by the owner on Nov 9, 2024. It is now read-only.

Commit

Permalink
Fix substance path detection on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
passivestar committed Nov 18, 2023
1 parent e6cce9e commit 516f942
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion __init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

bl_info = {
'name': 'Substance Import-Export Tools',
'version': (1, 3, 12),
'version': (1, 3, 13),
'author': 'passivestar',
'blender': (4, 0, 0),
'location': '3D View N Panel',
Expand Down Expand Up @@ -35,6 +35,8 @@ def detect_substance_painter_path():
for letter in 'CDEFGHIJKLMNOPQRSTUVWXYZ':
paths.extend([
f'{letter}:\\Program Files\\Adobe\\Adobe Substance 3D Painter\\Adobe Substance 3D Painter.exe', # Windows
f'{letter}:\\Program Files (x86)\\Adobe\\Adobe Substance 3D Painter\\Adobe Substance 3D Painter.exe', # Windows
f'{letter}:\\Program Files\\Steam\\steamapps\\common\\Substance Painter\\Adobe Substance 3D Painter.exe' # Windows Steam
f'{letter}:\\Program Files (x86)\\Steam\\steamapps\\common\\Substance Painter\\Adobe Substance 3D Painter.exe' # Windows Steam
])
for year in range(2020, 2026):
Expand Down

0 comments on commit 516f942

Please sign in to comment.