Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
dadigang
Ventoy
Commits
faa0e46d
Commit
faa0e46d
authored
Jul 23, 2021
by
longpanda
Browse files
Fix the missing program issue for EasyU
parent
537f0eaa
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
0 deletions
+11
-0
INSTALL/ventoy/vtoyjump32.exe
INSTALL/ventoy/vtoyjump32.exe
+0
-0
INSTALL/ventoy/vtoyjump64.exe
INSTALL/ventoy/vtoyjump64.exe
+0
-0
vtoyjump/vtoyjump/vtoyjump.c
vtoyjump/vtoyjump/vtoyjump.c
+11
-0
No files found.
INSTALL/ventoy/vtoyjump32.exe
View file @
faa0e46d
No preview for this file type
INSTALL/ventoy/vtoyjump64.exe
View file @
faa0e46d
No preview for this file type
vtoyjump/vtoyjump/vtoyjump.c
View file @
faa0e46d
...
...
@@ -1555,6 +1555,17 @@ int main(int argc, char **argv)
Log
(
"######## VentoyJump ##########"
);
Log
(
"argc = %d argv[0] = <%s>"
,
argc
,
argv
[
0
]);
//special process for some WinPE
if
(
_stricmp
(
argv
[
0
],
"WPEINIT.EXE"
)
==
0
)
{
GetCurrentDirectoryA
(
sizeof
(
CurDir
),
CurDir
);
if
(
_stricmp
(
CurDir
,
"X:
\\
"
)
==
0
)
{
Log
(
"Set current directory to system32"
);
SetCurrentDirectoryA
(
"X:
\\
Windows
\\
System32"
);
}
}
if
(
Pos
&&
*
Pos
==
0
)
{
Log
(
"Old current directory = <%s>"
,
CurDir
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment