support win for makepdsc

This commit is contained in:
Lyon 2022-08-29 23:23:51 +08:00
parent 5f46ee3b1d
commit 0fa44706db
2 changed files with 52 additions and 52 deletions

View File

@ -1,4 +1,4 @@
from copy import copy
import shutil
import os
version = "1.10.3"
@ -94,4 +94,4 @@ os.remove('kernal.xml')
os.remove('lib.xml')
os.remove('lib_lvgl.xml')
# copy .pdsc to ..
os.system('cp PikaTech.PikaScript.pdsc ..')
shutil.copy('PikaTech.PikaScript.pdsc', '..')