mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 03:58:22 +08:00
Chore: [ALAS] Abstract platform condition
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import sys
|
||||
from module.device.env import IS_WINDOWS
|
||||
|
||||
if sys.platform == 'win32':
|
||||
if IS_WINDOWS:
|
||||
from module.device.platform.platform_windows import PlatformWindows as Platform
|
||||
else:
|
||||
from module.device.platform.platform_base import PlatformBase as Platform
|
||||
|
||||
Reference in New Issue
Block a user