mirror of
https://github.com/ScoopInstaller/Scoop.git
synced 2025-12-12 11:06:34 +00:00
chore: Update repo links
This commit is contained in:
@@ -14,7 +14,7 @@
|
|||||||
Manifests without mismatch will not be shown.
|
Manifests without mismatch will not be shown.
|
||||||
.PARAMETER UseCache
|
.PARAMETER UseCache
|
||||||
Downloaded files will not be deleted after script finish.
|
Downloaded files will not be deleted after script finish.
|
||||||
Should not be used, because check should be used for downloading actual version of file (as normal user, not finding in some document from vendors, which could be damaged / wrong (Example: Slack@3.3.1 lukesampson/scoop-extras#1192)), not some previously downloaded.
|
Should not be used, because check should be used for downloading actual version of file (as normal user, not finding in some document from vendors, which could be damaged / wrong (Example: Slack@3.3.1 ScoopInstaller/Extras#1192)), not some previously downloaded.
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS BUCKETROOT> .\bin\checkhashes.ps1
|
PS BUCKETROOT> .\bin\checkhashes.ps1
|
||||||
Check all manifests for hash mismatch.
|
Check all manifests for hash mismatch.
|
||||||
|
|||||||
@@ -162,7 +162,7 @@ function normalize_values([psobject] $json) {
|
|||||||
# Recursively edit psobjects
|
# Recursively edit psobjects
|
||||||
# If the values is psobjects, its not normalized
|
# If the values is psobjects, its not normalized
|
||||||
# For example if manifest have architecture and it's architecture have array with single value it's not formatted.
|
# For example if manifest have architecture and it's architecture have array with single value it's not formatted.
|
||||||
# @see https://github.com/lukesampson/scoop/pull/2642#issue-220506263
|
# @see https://github.com/ScoopInstaller/Scoop/pull/2642#issue-220506263
|
||||||
if ($_.Value -is [System.Management.Automation.PSCustomObject]) {
|
if ($_.Value -is [System.Management.Automation.PSCustomObject]) {
|
||||||
$_.Value = normalize_values $_.Value
|
$_.Value = normalize_values $_.Value
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -135,7 +135,7 @@ function Compare-Version {
|
|||||||
$Delimiter = '-'
|
$Delimiter = '-'
|
||||||
)
|
)
|
||||||
process {
|
process {
|
||||||
# Use '+' sign as post-release, see https://github.com/lukesampson/scoop/pull/3721#issuecomment-553718093
|
# Use '+' sign as post-release, see https://github.com/ScoopInstaller/Scoop/pull/3721#issuecomment-553718093
|
||||||
$ReferenceVersion, $DifferenceVersion = @($ReferenceVersion, $DifferenceVersion) -replace '\+', '-'
|
$ReferenceVersion, $DifferenceVersion = @($ReferenceVersion, $DifferenceVersion) -replace '\+', '-'
|
||||||
|
|
||||||
# Return 0 if versions are equal
|
# Return 0 if versions are equal
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
# scoop bucket add <name> [<repo>]
|
# scoop bucket add <name> [<repo>]
|
||||||
#
|
#
|
||||||
# e.g.:
|
# e.g.:
|
||||||
# scoop bucket add extras https://github.com/lukesampson/scoop-extras.git
|
# scoop bucket add extras https://github.com/ScoopInstaller/Extras.git
|
||||||
#
|
#
|
||||||
# Since the 'extras' bucket is known to Scoop, this can be shortened to:
|
# Since the 'extras' bucket is known to Scoop, this can be shortened to:
|
||||||
# scoop bucket add extras
|
# scoop bucket add extras
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ $all = $opt.a -or $opt.all
|
|||||||
# load config
|
# load config
|
||||||
$configRepo = get_config SCOOP_REPO
|
$configRepo = get_config SCOOP_REPO
|
||||||
if (!$configRepo) {
|
if (!$configRepo) {
|
||||||
$configRepo = "https://github.com/lukesampson/scoop"
|
$configRepo = "https://github.com/ScoopInstaller/Scoop"
|
||||||
set_config SCOOP_REPO $configRepo | Out-Null
|
set_config SCOOP_REPO $configRepo | Out-Null
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -199,7 +199,7 @@ function update($app, $global, $quiet = $false, $independent, $suggested, $use_c
|
|||||||
write-host "Updating '$app' ($old_version -> $version)"
|
write-host "Updating '$app' ($old_version -> $version)"
|
||||||
|
|
||||||
# region Workaround
|
# region Workaround
|
||||||
# Workaround for https://github.com/lukesampson/scoop/issues/2220 until install is refactored
|
# Workaround for https://github.com/ScoopInstaller/Scoop/issues/2220 until install is refactored
|
||||||
# Remove and replace whole region after proper fix
|
# Remove and replace whole region after proper fix
|
||||||
Write-Host "Downloading new version"
|
Write-Host "Downloading new version"
|
||||||
if (Test-Aria2Enabled) {
|
if (Test-Aria2Enabled) {
|
||||||
|
|||||||
@@ -521,7 +521,7 @@
|
|||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"innosetup": {
|
"innosetup": {
|
||||||
"description": "True if the installer InnoSetup based. Found in https://github.com/lukesampson/scoop/search?l=JSON&q=innosetup",
|
"description": "True if the installer InnoSetup based. Found in https://github.com/ScoopInstaller/Main/search?l=JSON&q=innosetup",
|
||||||
"type": "boolean"
|
"type": "boolean"
|
||||||
},
|
},
|
||||||
"installer": {
|
"installer": {
|
||||||
|
|||||||
Reference in New Issue
Block a user