kopia lustrzana https://github.com/inkstitch/inkstitch
pythoncom coinitialize (#1102)
rodzic
61dedc2721
commit
7f8e9412ab
|
@ -25,8 +25,11 @@ def palettes():
|
|||
if sys.platform == "win32":
|
||||
# If we try to just use shutil.copy it says the operation requires elevation.
|
||||
def copy_files(files, dest):
|
||||
import pythoncom
|
||||
import winutils
|
||||
|
||||
pythoncom.CoInitialize()
|
||||
|
||||
if not os.path.exists(dest):
|
||||
os.makedirs(dest)
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue