Bugfix and a typo

This commit is contained in:
Alan Mason 2017-11-21 00:33:07 -08:00
parent adef491db0
commit b61cb2e0ed
3 changed files with 3 additions and 3 deletions

View file

@ -158,7 +158,7 @@ catch {
## Cleanup ##
Move-Item "$root\Build Kit.cmd" "$bin\Scripts\Build Kit.cmd"
Move-Item "$root\.root_items\*" "$root\"
New-Item "$root\.cbin"
New-Item "$root\.cbin" 2> $null
Remove-Item "$root\.root_items"
foreach ($item in @(".bin", ".cbin")) {
if (Test-Path "$root\$item") {

View file

@ -21,7 +21,6 @@ if __name__ == '__main__':
## Download ##
print_info('Downloading tools')
print_warning('\tSkipped?')
# Data Recovery
print_info(' Data Recovery')
@ -61,7 +60,7 @@ if __name__ == '__main__':
print_success(' {}'.format(section))
dest = r'{}\_Ninite\{}'.format(global_vars['CBinDir'], section)
for name, url in sorted(NINITE_SOURCES[section].items()):
url = 'https://ninite.com/{}/ninite.exe'.format(url)
url = 'https://ninite.com/{}/ninite.exe'.format(url)
try_and_print(message=name, function=download_generic,
other_results=other_results,
out_dir=dest, out_name=name, source_url=url)

1
.gitignore vendored
View file

@ -34,3 +34,4 @@
.cbin/_Drivers/
.cbin/_Office/
.cbin/_vcredists/
.cbin/wimlib/