mirror of
https://github.com/pbatard/rufus.git
synced 2024-08-14 23:57:05 +00:00
[core] fix precedence of Syslinux over Grub
* Closes #449 * Also fix Coverity builds
This commit is contained in:
parent
f2f638c60e
commit
d22933636c
5 changed files with 84 additions and 49 deletions
|
@ -1,6 +1,6 @@
|
|||
@echo off
|
||||
set PWD=%~dp0
|
||||
rmdir cov-int /s /q
|
||||
rmdir cov-int /s /q >NUL 2>NUL
|
||||
del cov-int.zip >NUL 2>NUL
|
||||
mkdir cov-int
|
||||
cov-build --dir cov-int wdk_build.cmd
|
||||
|
@ -10,7 +10,7 @@ echo InputFolder = objArgs(0)>> zip.vbs
|
|||
echo ZipFile = objArgs(1)>> zip.vbs
|
||||
echo CreateObject("Scripting.FileSystemObject").CreateTextFile(ZipFile, True).Write "PK" ^& Chr(5) ^& Chr(6) ^& String(18, vbNullChar)>> zip.vbs
|
||||
echo Set objShell = CreateObject("Shell.Application")>> zip.vbs
|
||||
echo Set source = objShell.NameSpace(InputFolder).Items>> zip.vbs
|
||||
echo Set source = objShell.NameSpace(InputFolder)>> zip.vbs
|
||||
echo objShell.NameSpace(ZipFile).CopyHere(source)>> zip.vbs
|
||||
echo wScript.Sleep 2000>> zip.vbs
|
||||
CScript zip.vbs %PWD%cov-int %PWD%cov-int.zip
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue