Skip to content

Commit

Permalink
Improve readme
Browse files Browse the repository at this point in the history
  • Loading branch information
asheroto committed Jun 19, 2024
1 parent dc8085f commit ff9b80d
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ $packageInfo = @{
PackageName = "fxsound"
FileUrl = 'https://download.fxsound.com/fxsoundlatest' # URL to download the file from
FileDestinationPath = '.\tools\fxsound_setup.exe' # Path to move/rename the temporary file to (if EXE is distributed in package
Alert = $true # If the package is updated, send a message to the maintainer for review
Alert = $true # If the package is updated, send a message to the maintainer for review (optional, default is $true)
}
# Call the UpdateChocolateyPackage function and pass the hash table
Expand All @@ -158,7 +158,6 @@ $packageInfo = @{
PackageName = "fxsound"
FileUrl = 'https://download.fxsound.com/fxsoundlatest' # URL to download the file from
FileDestinationPath = '.\tools\fxsound_setup.exe' # Path to move/rename the temporary file to (if EXE is distributed in package
Alert = $true # If the package is updated, send a message to the maintainer for review
}
# Call the UpdateChocolateyPackage function and pass the hash table
Expand All @@ -178,7 +177,6 @@ $packageInfo = @{
PackageName = "miro"
FileUrl = 'https://desktop.miro.com/platforms/win32-x86/Miro.exe' # URL to download the file from
FileUrl64 = 'https://desktop.miro.com/platforms/win32/Miro.exe' # URL to download the file from
Alert = $true # If the package is updated, send a message to the maintainer for review
}
# Call the UpdateChocolateyPackage function and pass the hash table
Expand Down Expand Up @@ -228,15 +226,15 @@ UpdateChocolateyPackage -PackageName "fxsound" -FileUrl "https://download.fxsoun
```

```powershell
UpdateChocolateyPackage -PackageName "fxsound" -FileUrl "https://desktop.miro.com/platforms/win32-x86/Miro.exe" -FileUrl64 'https://desktop.miro.com/platforms/win32/Miro.exe' -Alert $true
UpdateChocolateyPackage -PackageName "fxsound" -FileUrl "https://desktop.miro.com/platforms/win32-x86/Miro.exe" -FileUrl64 'https://desktop.miro.com/platforms/win32/Miro.exe'
```

```powershell
UpdateChocolateyPackage -PackageName "StartAllBack" -ScrapeUrl 'https://startallback.com/' -ScrapePattern '(?<=<span class="title">Download v)[\d.]+' -FileUrl "https://startisback.sfo3.cdn.digitaloceanspaces.com/StartAllBack_{VERSION}_setup.exe"
```

```powershell
UpdateChocolateyPackage -PackageName "ventoy" -FileUrl "https://github.com/ventoy/Ventoy/releases/download/v{VERSION}/ventoy-{VERSION}-windows.zip" -GitHubRepoUrl "https://github.com/ventoy/Ventoy"
UpdateChocolateyPackage -PackageName "ventoy" -FileUrl "https://github.com/ventoy/Ventoy/releases/download/v{VERSION}/ventoy-{VERSION}-windows.zip" -GitHubRepoUrl "https://github.com/ventoy/Ventoy" -AutoPush $true
```

---
Expand Down

0 comments on commit ff9b80d

Please sign in to comment.