Merge branch 'dev' into ui-split
This commit is contained in:
commit
e3ebc2d1b8
3 changed files with 3 additions and 2 deletions
|
|
@ -38,6 +38,7 @@ def download_file(out_path, source_url, as_new=False, overwrite=False, referer=N
|
||||||
download_msg = f'Downloading {name}...'
|
download_msg = f'Downloading {name}...'
|
||||||
if as_new:
|
if as_new:
|
||||||
out_path = out_path.with_suffix(f'{out_path.suffix}.new')
|
out_path = out_path.with_suffix(f'{out_path.suffix}.new')
|
||||||
|
overwrite = True
|
||||||
print(download_msg, end='', flush=True)
|
print(download_msg, end='', flush=True)
|
||||||
|
|
||||||
# Avoid clobbering
|
# Avoid clobbering
|
||||||
|
|
|
||||||
|
|
@ -180,7 +180,7 @@ def check_4k_alignment(show_alert=False):
|
||||||
if not match:
|
if not match:
|
||||||
LOG.error('Failed to parse partition info for: %s', line)
|
LOG.error('Failed to parse partition info for: %s', line)
|
||||||
continue
|
continue
|
||||||
if int(match.group('offset')) % 4096 == 0:
|
if int(match.group('offset')) % 4096 != 0:
|
||||||
report.append(
|
report.append(
|
||||||
color_string(
|
color_string(
|
||||||
f'{match.group("description")}'
|
f'{match.group("description")}'
|
||||||
|
|
|
||||||
|
|
@ -649,7 +649,7 @@ def enable_ublock_origin():
|
||||||
|
|
||||||
# Open detected browsers
|
# Open detected browsers
|
||||||
for cmd in cmds:
|
for cmd in cmds:
|
||||||
popen_program(cmd)
|
popen_program(cmd, pipe=True)
|
||||||
|
|
||||||
|
|
||||||
def fix_windows_temp():
|
def fix_windows_temp():
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue