Skip to content

Commit 9688f7d

Browse files
committed
Changed arch detection mechanism
1 parent 24e2480 commit 9688f7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

GoBuildCommons.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def createValidStructure(project_path):
2727

2828
def getArch():
2929
result = ""
30-
if os.environ['OS'].startswith("Windows"):
30+
if "windows" in sublime.platform():
3131
result = "windows_"
3232
else:
3333
result = "linux_"

0 commit comments

Comments
 (0)