mirror of
https://github.com/pbatard/rufus.git
synced 2025-05-29 05:55:30 -04:00
[misc] use application dir for storage in portable mode
* Also improve path reporting in the log. * Also fix MinGW warnings
This commit is contained in:
parent
9cd7adaaaa
commit
56a99e6394
5 changed files with 19 additions and 16 deletions
|
@ -160,7 +160,7 @@ static uint64_t progress_offset = 0, progress_total = 100;
|
|||
static wchar_t wmount_path[MAX_PATH] = { 0 }, wmount_track[MAX_PATH] = { 0 };
|
||||
static char sevenzip_path[MAX_PATH];
|
||||
static const char conectix_str[] = VHD_FOOTER_COOKIE;
|
||||
static BOOL count_files, use_msg_progress = FALSE;
|
||||
static BOOL count_files;
|
||||
// Apply/Mount image functionality
|
||||
static const char *_image, *_dst;
|
||||
static int _index, progress_op = OP_FILE_COPY, progress_msg = MSG_267;
|
||||
|
@ -506,7 +506,7 @@ uint8_t WimExtractCheck(BOOL bSilent)
|
|||
// So, yeah, this is both very slow and wasteful of space.
|
||||
//
|
||||
// NB: You can see mounted WIMs, along with their mountpoint, by checking:
|
||||
// HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WIMMount\Mounted Images\
|
||||
// HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WIMMount\Mounted Images
|
||||
// You can also mount/unmount images from an elevated prompt with something like:
|
||||
// dism /mount-image [/readonly] /imagefile:F:\sources\boot.wim /index:2 /mountdir:C:\test\offline
|
||||
// dism /unmount-image /discard /mountdir:C:\test\offline
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue