1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-12 09:48:20 +08:00

Chore: [ALAS] Abstract platform condition

This commit is contained in:
LmeSzinc
2024-07-12 00:52:13 +08:00
parent d161fc8cbf
commit 6064457620
3 changed files with 9 additions and 4 deletions

5
module/device/env.py Normal file
View File

@@ -0,0 +1,5 @@
import sys
IS_WINDOWS = sys.platform == 'win32'
IS_MACINTOSH = sys.platform == 'darwin'
IS_LINUX = sys.platform == 'linux'