Moved windows setup settings to separate file
This commit is contained in:
parent
af5281626b
commit
8d8399c9aa
2 changed files with 40 additions and 33 deletions
|
|
@ -2,39 +2,7 @@
|
||||||
|
|
||||||
from functions.data import *
|
from functions.data import *
|
||||||
from functions.disk import *
|
from functions.disk import *
|
||||||
|
from settings.windows_setup import *
|
||||||
|
|
||||||
# STATIC VARIABLES
|
|
||||||
WINDOWS_VERSIONS = [
|
|
||||||
{'Name': 'Windows 7 Home Basic',
|
|
||||||
'Image File': 'Win7',
|
|
||||||
'Image Name': 'Windows 7 HOMEBASIC'},
|
|
||||||
{'Name': 'Windows 7 Home Premium',
|
|
||||||
'Image File': 'Win7',
|
|
||||||
'Image Name': 'Windows 7 HOMEPREMIUM'},
|
|
||||||
{'Name': 'Windows 7 Professional',
|
|
||||||
'Image File': 'Win7',
|
|
||||||
'Image Name': 'Windows 7 PROFESSIONAL'},
|
|
||||||
{'Name': 'Windows 7 Ultimate',
|
|
||||||
'Image File': 'Win7',
|
|
||||||
'Image Name': 'Windows 7 ULTIMATE'},
|
|
||||||
|
|
||||||
{'Name': 'Windows 8.1',
|
|
||||||
'Image File': 'Win8',
|
|
||||||
'Image Name': 'Windows 8.1',
|
|
||||||
'CRLF': True},
|
|
||||||
{'Name': 'Windows 8.1 Pro',
|
|
||||||
'Image File': 'Win8',
|
|
||||||
'Image Name': 'Windows 8.1 Pro'},
|
|
||||||
|
|
||||||
{'Name': 'Windows 10 Home',
|
|
||||||
'Image File': 'Win10',
|
|
||||||
'Image Name': 'Windows 10 Home',
|
|
||||||
'CRLF': True},
|
|
||||||
{'Name': 'Windows 10 Pro',
|
|
||||||
'Image File': 'Win10',
|
|
||||||
'Image Name': 'Windows 10 Pro'},
|
|
||||||
]
|
|
||||||
|
|
||||||
|
|
||||||
def find_windows_image(windows_version):
|
def find_windows_image(windows_version):
|
||||||
|
|
|
||||||
39
.bin/Scripts/settings/windows_setup.py
Normal file
39
.bin/Scripts/settings/windows_setup.py
Normal file
|
|
@ -0,0 +1,39 @@
|
||||||
|
# Wizard Kit: Settings - Windows Setup
|
||||||
|
|
||||||
|
# General
|
||||||
|
WINDOWS_VERSIONS = [
|
||||||
|
{'Name': 'Windows 7 Home Basic',
|
||||||
|
'Image File': 'Win7',
|
||||||
|
'Image Name': 'Windows 7 HOMEBASIC'},
|
||||||
|
{'Name': 'Windows 7 Home Premium',
|
||||||
|
'Image File': 'Win7',
|
||||||
|
'Image Name': 'Windows 7 HOMEPREMIUM'},
|
||||||
|
{'Name': 'Windows 7 Professional',
|
||||||
|
'Image File': 'Win7',
|
||||||
|
'Image Name': 'Windows 7 PROFESSIONAL'},
|
||||||
|
{'Name': 'Windows 7 Ultimate',
|
||||||
|
'Image File': 'Win7',
|
||||||
|
'Image Name': 'Windows 7 ULTIMATE'},
|
||||||
|
|
||||||
|
{'Name': 'Windows 8.1',
|
||||||
|
'Image File': 'Win8',
|
||||||
|
'Image Name': 'Windows 8.1',
|
||||||
|
'CRLF': True},
|
||||||
|
{'Name': 'Windows 8.1 Pro',
|
||||||
|
'Image File': 'Win8',
|
||||||
|
'Image Name': 'Windows 8.1 Pro'},
|
||||||
|
|
||||||
|
{'Name': 'Windows 10 Home',
|
||||||
|
'Image File': 'Win10',
|
||||||
|
'Image Name': 'Windows 10 Home',
|
||||||
|
'CRLF': True},
|
||||||
|
{'Name': 'Windows 10 Pro',
|
||||||
|
'Image File': 'Win10',
|
||||||
|
'Image Name': 'Windows 10 Pro'},
|
||||||
|
]
|
||||||
|
|
||||||
|
|
||||||
|
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