Skip to content

Commit

Permalink
Apply suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
ttytm committed Oct 31, 2024
1 parent a956ac0 commit 90987bd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions build.vsh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import time
import net.http
import regex

const lib_url = 'https://raw.githubusercontent.com/webview/webview/master'
const lib_dir = '${@VMODROOT}/src'
const cxx = if _ := find_abs_path_of_executable('g++') {
'g++'
Expand Down Expand Up @@ -78,8 +79,8 @@ fn download(silent bool) {
if !silent {
spawn spinner(dl_spinner)
}
http.download_file('https://raw.githubusercontent.com/malisipi/mui/refs/heads/main/webview/webview/webview.h', '${lib_dir}/webview.h') or { panic(err) }
http.download_file('https://raw.githubusercontent.com/webview/webview/refs/heads/master/core/src/webview.cc', '${lib_dir}/webview.cc') or { panic(err) }
http.download_file('${lib_url}/webview.h', '${lib_dir}/webview.h') or { panic(err) }
http.download_file('${lib_url}/webview.cc', '${lib_dir}/webview.cc') or { panic(err) }
download_webview2()
dl_spinner <- true
}
Expand Down

0 comments on commit 90987bd

Please sign in to comment.