Skip to content

Commit 231b0d9

Browse files
authored
v.pref: fix GitHub download URL for the photonwrapper .so file (fix #25708) (#25831)
1 parent f252d3e commit 231b0d9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎vlib/v/pref/pref.v‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -993,7 +993,7 @@ pub fn parse_args_and_show_errors(known_external_commands []string, args []strin
993993
vexe := vexe_path()
994994
vroot := os.dir(vexe)
995995
so_path := os.join_path(vroot, 'thirdparty', 'photon', 'photonwrapper.so')
996-
so_url := 'https://github.com/vlang/photonbin/raw/master/photonwrapper_${os.user_os()}_${arch}.so'
996+
so_url := 'https://raw.githubusercontent.com/vlang/photonbin/master/photonwrapper_${os.user_os()}_${arch}.so'
997997
if !os.exists(so_path) {
998998
println('coroutines .so not found, downloading...')
999999
os.execute_opt('wget -O "${so_path}" "${so_url}"') or {

0 commit comments

Comments
 (0)