mirror of
https://github.com/lifegpc/pixiv_downloader.git
synced 2026-07-08 01:32:41 +08:00
Fix file name
This commit is contained in:
@@ -133,7 +133,7 @@ impl Main {
|
||||
Ok(_) => {}
|
||||
Err(_) => {
|
||||
let mut cert = utils::get_exe_path_else_current();
|
||||
cert.push("cert.pem");
|
||||
cert.set_file_name("cert.pem");
|
||||
if cert.exists() {
|
||||
std::env::set_var("SSL_CERT_FILE", cert);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user