We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e30844 commit 7073ba6Copy full SHA for 7073ba6
1 file changed
constructor/briefcase.py
@@ -4,6 +4,7 @@
4
5
import logging
6
import re
7
+import sys
8
import shutil
9
import sysconfig
10
import tempfile
@@ -137,6 +138,9 @@ def write_pyproject_toml(tmp_dir, info):
137
138
139
140
def create(info, verbose=False):
141
+ if sys.platform != 'win32':
142
+ raise Exception(f"Invalid platform '{sys.platform}'. Only Windows is supported.")
143
+
144
tmp_dir = Path(tempfile.mkdtemp())
145
write_pyproject_toml(tmp_dir, info)
146
0 commit comments