mirror of
https://github.com/ScoopInstaller/Scoop.git
synced 2026-09-23 13:56:27 +00:00
Add $basename variable
This commit is contained in:
@@ -100,6 +100,7 @@ function get_hash_for_app([String] $app, $config, [String] $version, [String] $u
|
||||
$hashfile_url = substitute $config.url @{
|
||||
'$url' = (strip_fragment $url);
|
||||
'$baseurl' = (strip_filename (strip_fragment $url)).TrimEnd('/')
|
||||
'$basename' = $basename
|
||||
}
|
||||
$hashfile_url = substitute $hashfile_url $substitutions
|
||||
write-host -f yellow $hashfile_url
|
||||
|
||||
Reference in New Issue
Block a user