mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-09 04:04:15 +02:00
[web] fix: spelling
This commit is contained in:
@@ -681,7 +681,7 @@ class WebApplicationManager(SoftwareManager):
|
|||||||
install_options.append(f'--inject={fix_path}')
|
install_options.append(f'--inject={fix_path}')
|
||||||
Path(FIX_FILE_PATH).mkdir(exist_ok=True, parents=True)
|
Path(FIX_FILE_PATH).mkdir(exist_ok=True, parents=True)
|
||||||
|
|
||||||
self.logger.info(f'Writting JS fix at {fix_path}')
|
self.logger.info(f'Writing JS fix at {fix_path}')
|
||||||
with open(fix_path, 'w+') as f:
|
with open(fix_path, 'w+') as f:
|
||||||
f.write(fix)
|
f.write(fix)
|
||||||
|
|
||||||
@@ -694,7 +694,7 @@ class WebApplicationManager(SoftwareManager):
|
|||||||
icon_path, icon_bytes = download[0], download[1]
|
icon_path, icon_bytes = download[0], download[1]
|
||||||
pkg.custom_icon = icon_path
|
pkg.custom_icon = icon_path
|
||||||
|
|
||||||
# writting the icon in a temporary folder to be used by the nativefier process
|
# writing the icon in a temporary folder to be used by the nativefier process
|
||||||
temp_icon_path = '{}/{}'.format(TEMP_PATH, pkg.icon_url.split('/')[-1])
|
temp_icon_path = '{}/{}'.format(TEMP_PATH, pkg.icon_url.split('/')[-1])
|
||||||
install_options.append('--icon={}'.format(temp_icon_path))
|
install_options.append('--icon={}'.format(temp_icon_path))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user