Fixed issues importing settings files
This commit is contained in:
parent
75df9777b3
commit
648787913e
4 changed files with 18 additions and 11 deletions
|
|
@ -1,5 +1,6 @@
|
||||||
# Wizard Kit: Settings - Browsers
|
# Wizard Kit: Settings - Browsers
|
||||||
|
|
||||||
|
import os
|
||||||
import re
|
import re
|
||||||
|
|
||||||
# General
|
# General
|
||||||
|
|
|
||||||
|
|
@ -3,6 +3,8 @@
|
||||||
import ctypes
|
import ctypes
|
||||||
import re
|
import re
|
||||||
|
|
||||||
|
from settings.main import *
|
||||||
|
|
||||||
# FastCopy
|
# FastCopy
|
||||||
FAST_COPY_EXCLUDES = [
|
FAST_COPY_EXCLUDES = [
|
||||||
r'\*.esd',
|
r'\*.esd',
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,7 @@
|
||||||
# Wizard Kit: Settings - Setup
|
# Wizard Kit: Settings - Setup
|
||||||
|
|
||||||
|
import winreg
|
||||||
|
|
||||||
# General
|
# General
|
||||||
HKU = winreg.HKEY_USERS
|
HKU = winreg.HKEY_USERS
|
||||||
HKCR = winreg.HKEY_CLASSES_ROOT
|
HKCR = winreg.HKEY_CLASSES_ROOT
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,18 @@
|
||||||
# Wizard Kit: Settings - WinPE
|
# Wizard Kit: Settings - WinPE
|
||||||
|
|
||||||
|
from settings.data import *
|
||||||
|
|
||||||
|
# FastCopy
|
||||||
|
FAST_COPY_PE_ARGS = [
|
||||||
|
'/cmd=noexist_only',
|
||||||
|
'/utf8',
|
||||||
|
'/skip_empty_dir',
|
||||||
|
'/linkdest',
|
||||||
|
'/no_ui',
|
||||||
|
'/auto_close',
|
||||||
|
'/exclude={}'.format(';'.join(FAST_COPY_EXCLUDES)),
|
||||||
|
]
|
||||||
|
|
||||||
# General
|
# General
|
||||||
PE_TOOLS = {
|
PE_TOOLS = {
|
||||||
'BlueScreenView': {
|
'BlueScreenView': {
|
||||||
|
|
@ -37,17 +50,6 @@ PE_TOOLS = {
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
# FastCopy
|
|
||||||
FAST_COPY_PE_ARGS = [
|
|
||||||
'/cmd=noexist_only',
|
|
||||||
'/utf8',
|
|
||||||
'/skip_empty_dir',
|
|
||||||
'/linkdest',
|
|
||||||
'/no_ui',
|
|
||||||
'/auto_close',
|
|
||||||
'/exclude={}'.format(';'.join(FAST_COPY_EXCLUDES)),
|
|
||||||
]
|
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
print("This file is not meant to be called directly.")
|
print("This file is not meant to be called directly.")
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue