Skip to content

Commit 7073ba6

Browse files
committed
Some more fixes
1 parent 2e30844 commit 7073ba6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

constructor/briefcase.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
import logging
66
import re
7+
import sys
78
import shutil
89
import sysconfig
910
import tempfile
@@ -137,6 +138,9 @@ def write_pyproject_toml(tmp_dir, info):
137138

138139

139140
def create(info, verbose=False):
141+
if sys.platform != 'win32':
142+
raise Exception(f"Invalid platform '{sys.platform}'. Only Windows is supported.")
143+
140144
tmp_dir = Path(tempfile.mkdtemp())
141145
write_pyproject_toml(tmp_dir, info)
142146

0 commit comments

Comments
 (0)