Moved WinPE settings to separate file
This commit is contained in:
parent
8d8399c9aa
commit
4197fc9e0b
2 changed files with 56 additions and 47 deletions
|
|
@ -3,53 +3,7 @@
|
||||||
from functions.backup import *
|
from functions.backup import *
|
||||||
from functions.disk import *
|
from functions.disk import *
|
||||||
from functions.windows_setup import *
|
from functions.windows_setup import *
|
||||||
|
from settings.winpe import *
|
||||||
|
|
||||||
# STATIC VARIABLES
|
|
||||||
FAST_COPY_PE_ARGS = [
|
|
||||||
'/cmd=noexist_only',
|
|
||||||
'/utf8',
|
|
||||||
'/skip_empty_dir',
|
|
||||||
'/linkdest',
|
|
||||||
'/no_ui',
|
|
||||||
'/auto_close',
|
|
||||||
'/exclude={}'.format(';'.join(FAST_COPY_EXCLUDES)),
|
|
||||||
]
|
|
||||||
PE_TOOLS = {
|
|
||||||
'BlueScreenView': {
|
|
||||||
'Path': r'BlueScreenView\BlueScreenView.exe',
|
|
||||||
},
|
|
||||||
'FastCopy': {
|
|
||||||
'Path': r'FastCopy\FastCopy.exe',
|
|
||||||
'Args': FAST_COPY_PE_ARGS,
|
|
||||||
},
|
|
||||||
'HWiNFO': {
|
|
||||||
'Path': r'HWiNFO\HWiNFO.exe',
|
|
||||||
},
|
|
||||||
'NT Password Editor': {
|
|
||||||
'Path': r'NT Password Editor\ntpwedit.exe',
|
|
||||||
},
|
|
||||||
'Notepad++': {
|
|
||||||
'Path': r'NotepadPlusPlus\NotepadPlusPlus.exe',
|
|
||||||
},
|
|
||||||
'PhotoRec': {
|
|
||||||
'Path': r'TestDisk\photorec_win.exe',
|
|
||||||
'Args': ['-new_console:n'],
|
|
||||||
},
|
|
||||||
'Prime95': {
|
|
||||||
'Path': r'Prime95\prime95.exe',
|
|
||||||
},
|
|
||||||
'ProduKey': {
|
|
||||||
'Path': r'ProduKey\ProduKey.exe',
|
|
||||||
},
|
|
||||||
'Q-Dir': {
|
|
||||||
'Path': r'Q-Dir\Q-Dir.exe',
|
|
||||||
},
|
|
||||||
'TestDisk': {
|
|
||||||
'Path': r'TestDisk\testdisk_win.exe',
|
|
||||||
'Args': ['-new_console:n'],
|
|
||||||
},
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
def check_pe_tools():
|
def check_pe_tools():
|
||||||
|
|
|
||||||
55
.bin/Scripts/settings/winpe.py
Normal file
55
.bin/Scripts/settings/winpe.py
Normal file
|
|
@ -0,0 +1,55 @@
|
||||||
|
# Wizard Kit: Settings - WinPE
|
||||||
|
|
||||||
|
# General
|
||||||
|
PE_TOOLS = {
|
||||||
|
'BlueScreenView': {
|
||||||
|
'Path': r'BlueScreenView\BlueScreenView.exe',
|
||||||
|
},
|
||||||
|
'FastCopy': {
|
||||||
|
'Path': r'FastCopy\FastCopy.exe',
|
||||||
|
'Args': FAST_COPY_PE_ARGS,
|
||||||
|
},
|
||||||
|
'HWiNFO': {
|
||||||
|
'Path': r'HWiNFO\HWiNFO.exe',
|
||||||
|
},
|
||||||
|
'NT Password Editor': {
|
||||||
|
'Path': r'NT Password Editor\ntpwedit.exe',
|
||||||
|
},
|
||||||
|
'Notepad++': {
|
||||||
|
'Path': r'NotepadPlusPlus\NotepadPlusPlus.exe',
|
||||||
|
},
|
||||||
|
'PhotoRec': {
|
||||||
|
'Path': r'TestDisk\photorec_win.exe',
|
||||||
|
'Args': ['-new_console:n'],
|
||||||
|
},
|
||||||
|
'Prime95': {
|
||||||
|
'Path': r'Prime95\prime95.exe',
|
||||||
|
},
|
||||||
|
'ProduKey': {
|
||||||
|
'Path': r'ProduKey\ProduKey.exe',
|
||||||
|
},
|
||||||
|
'Q-Dir': {
|
||||||
|
'Path': r'Q-Dir\Q-Dir.exe',
|
||||||
|
},
|
||||||
|
'TestDisk': {
|
||||||
|
'Path': r'TestDisk\testdisk_win.exe',
|
||||||
|
'Args': ['-new_console:n'],
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
|
# 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__':
|
||||||
|
print("This file is not meant to be called directly.")
|
||||||
|
|
||||||
|
# vim: sts=2 sw=2 ts=2
|
||||||
Loading…
Reference in a new issue