Build system fix for WSL2

This commit is contained in:
Eric Froemling 2020-06-18 02:41:25 -07:00
parent 1131752185
commit 334ac7aa5e
2 changed files with 13 additions and 13 deletions

View File

@ -4135,16 +4135,16 @@
"assets/build/windows/x64/vc_redist.x64.exe": "https://files.ballistica.net/cache/ba1/ea/19/8b8787d81abcdce158ba608cd24f",
"assets/build/windows/x64/vcruntime140_1d.dll": "https://files.ballistica.net/cache/ba1/11/d8/ff6344b429b00c24d9a1930d4338",
"assets/build/windows/x64/vcruntime140d.dll": "https://files.ballistica.net/cache/ba1/20/33/0825e11e6518f87ece3009309933",
"build/prefab/linux-server/debug/dist/ballisticacore_headless": "https://files.ballistica.net/cache/ba1/38/79/8482459e849c4b75b16bb100266f",
"build/prefab/linux-server/release/dist/ballisticacore_headless": "https://files.ballistica.net/cache/ba1/a9/9c/ec1fbb2000b98ee3f435e5c513fe",
"build/prefab/linux/debug/ballisticacore": "https://files.ballistica.net/cache/ba1/76/5b/db956e121da63577f936e64f3494",
"build/prefab/linux/release/ballisticacore": "https://files.ballistica.net/cache/ba1/4c/3b/a57f68ff20e2b609e9e5206b95a5",
"build/prefab/mac-server/debug/dist/ballisticacore_headless": "https://files.ballistica.net/cache/ba1/e7/e3/50b8b93f13e62224361adc25d349",
"build/prefab/mac-server/release/dist/ballisticacore_headless": "https://files.ballistica.net/cache/ba1/d1/1e/0a2b25787b8b8fb22bc98fd01deb",
"build/prefab/mac/debug/ballisticacore": "https://files.ballistica.net/cache/ba1/cb/bb/283f8b7e32c525a18d8ff352a909",
"build/prefab/mac/release/ballisticacore": "https://files.ballistica.net/cache/ba1/cf/53/a41d9c765398f15c9e12fb09f901",
"build/prefab/windows-server/debug/dist/ballisticacore_headless.exe": "https://files.ballistica.net/cache/ba1/dc/ed/d8ede234c0a7088a4779034a0546",
"build/prefab/windows-server/release/dist/ballisticacore_headless.exe": "https://files.ballistica.net/cache/ba1/9c/93/bcebb3578733d2d6cad663493221",
"build/prefab/windows/debug/BallisticaCore.exe": "https://files.ballistica.net/cache/ba1/2c/15/5b57e11da90398f11e8e7c72a7ca",
"build/prefab/windows/release/BallisticaCore.exe": "https://files.ballistica.net/cache/ba1/37/a4/7a81bd34c99b3f43e2e528dd28b9"
"build/prefab/linux-server/debug/dist/ballisticacore_headless": "https://files.ballistica.net/cache/ba1/31/39/870b3da9d4e8bbb0dde02328cf72",
"build/prefab/linux-server/release/dist/ballisticacore_headless": "https://files.ballistica.net/cache/ba1/cc/28/fcf6593ea46a25253121a5c284a1",
"build/prefab/linux/debug/ballisticacore": "https://files.ballistica.net/cache/ba1/8d/fc/1f85fd832931a4f29e3b7fe64acc",
"build/prefab/linux/release/ballisticacore": "https://files.ballistica.net/cache/ba1/02/d4/fc4da9b7b56007556ed7bc7c02d4",
"build/prefab/mac-server/debug/dist/ballisticacore_headless": "https://files.ballistica.net/cache/ba1/32/ab/210ebb40458811c3eacc56c9838d",
"build/prefab/mac-server/release/dist/ballisticacore_headless": "https://files.ballistica.net/cache/ba1/39/41/8be050199ee9b2bac816482677a6",
"build/prefab/mac/debug/ballisticacore": "https://files.ballistica.net/cache/ba1/36/14/e1746bb5df2b33edc429028b0536",
"build/prefab/mac/release/ballisticacore": "https://files.ballistica.net/cache/ba1/d0/67/4965f41035dbce0781cc144f9de3",
"build/prefab/windows-server/debug/dist/ballisticacore_headless.exe": "https://files.ballistica.net/cache/ba1/86/75/88694137c6b97bcf467a77850d9a",
"build/prefab/windows-server/release/dist/ballisticacore_headless.exe": "https://files.ballistica.net/cache/ba1/bd/d8/46a5d20ff31bac737441ef3140da",
"build/prefab/windows/debug/BallisticaCore.exe": "https://files.ballistica.net/cache/ba1/1e/45/cfabbaf255c6084377381267dd15",
"build/prefab/windows/release/BallisticaCore.exe": "https://files.ballistica.net/cache/ba1/6c/25/473847d1de1bfcbd3781e65732bf"
}

View File

@ -465,7 +465,7 @@ def get_current_prefab_platform() -> str:
if system == 'Linux':
# If it looks like we're in Windows Subsystem for Linux,
# go with the Windows version.
if 'microsoft' in platform.uname()[3].lower():
if 'microsoft' in platform.uname().release.lower():
return 'windows'
# We currently only support x86_64 linux.