Merge branch 'dev' into ui-split

This commit is contained in:
2Shirt 2023-04-01 22:28:32 -07:00
commit e3ebc2d1b8
Signed by: 2Shirt
GPG key ID: 152FAC923B0E132C
3 changed files with 3 additions and 2 deletions

View file

@ -38,6 +38,7 @@ def download_file(out_path, source_url, as_new=False, overwrite=False, referer=N
download_msg = f'Downloading {name}...'
if as_new:
out_path = out_path.with_suffix(f'{out_path.suffix}.new')
overwrite = True
print(download_msg, end='', flush=True)
# Avoid clobbering

View file

@ -180,7 +180,7 @@ def check_4k_alignment(show_alert=False):
if not match:
LOG.error('Failed to parse partition info for: %s', line)
continue
if int(match.group('offset')) % 4096 == 0:
if int(match.group('offset')) % 4096 != 0:
report.append(
color_string(
f'{match.group("description")}'

View file

@ -649,7 +649,7 @@ def enable_ublock_origin():
# Open detected browsers
for cmd in cmds:
popen_program(cmd)
popen_program(cmd, pipe=True)
def fix_windows_temp():