Skip to content

Commit

Permalink
update notification
Browse files Browse the repository at this point in the history
  • Loading branch information
triwinds committed Mar 19, 2023
1 parent c901604 commit f8573fd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions module/downloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ def download(url, save_dir=None, options=None, download_in_background=False):
def _download(url, save_dir=None, options=None, download_in_background=False):
init_aria2()
send_notify('如果遇到下载失败或卡住的问题, 可以尝试在设置中换个下载源, 如果还是不行就挂个梯子')
send_notify('如果你的网络支持 IPv6, 也可以尝试在设置中允许 aria2 使用 IPv6, 看看能不能解决问题')
tmp = init_download_options_with_proxy(url)
tmp['auto-file-renaming'] = 'false'
tmp['allow-overwrite'] = 'false'
Expand Down
4 changes: 2 additions & 2 deletions module/ryujinx.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,8 @@ def start_ryujinx():
logger.info(f'starting Ryujinx from: {rj_path}')
subprocess.Popen([rj_path])
else:
logger.error(f'Ryujinx not exist in [{rj_path}]')
raise RuntimeError(f'Ryujinx not exist in [{rj_path}]')
logger.error(f'Ryujinx exe not exist in [{config.ryujinx.path}]')
raise RuntimeError(f'Ryujinx exe not exist in [{config.ryujinx.path}]')


def detect_current_branch():
Expand Down

0 comments on commit f8573fd

Please sign in to comment.