https://github.com/brogers5/chocolatey-package-livesplit
Chocolatey package for LiveSplit.
https://github.com/brogers5/chocolatey-package-livesplit
au au-packages chocolatey chocolatey-automatic chocolatey-packages livesplit package packaging powershell powershell-script powershell-scripting software software-management windows
Last synced: 4 months ago
JSON representation
Chocolatey package for LiveSplit.
- Host: GitHub
- URL: https://github.com/brogers5/chocolatey-package-livesplit
- Owner: brogers5
- License: mit
- Created: 2022-07-15T00:20:01.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2025-01-30T00:51:38.000Z (over 1 year ago)
- Last Synced: 2025-01-30T01:28:07.074Z (over 1 year ago)
- Topics: au, au-packages, chocolatey, chocolatey-automatic, chocolatey-packages, livesplit, package, packaging, powershell, powershell-script, powershell-scripting, software, software-management, windows
- Language: PowerShell
- Homepage: https://community.chocolatey.org/packages/livesplit
- Size: 172 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
#
Chocolatey Package: [LiveSplit](https://community.chocolatey.org/packages/livesplit)
[](https://community.chocolatey.org/packages/livesplit)
[](https://community.chocolatey.org/packages/livesplit)
## Install
[Install Chocolatey](https://chocolatey.org/install), and run the following command to install the latest approved stable version from the Chocolatey Community Repository:
```shell
choco install livesplit --source="'https://community.chocolatey.org/api/v2'"
```
Alternatively, the packages as published on the Chocolatey Community Repository (starting with v1.8.20) will also be mirrored on this repository's [Releases page](https://github.com/brogers5/chocolatey-package-livesplit/releases). The `nupkg` can be installed from the current directory (with dependencies sourced from the Community Repository) as follows:
```shell
choco install livesplit --source="'.;https://community.chocolatey.org/api/v2/'"
```
## Build
[Install Chocolatey](https://chocolatey.org/install), the [Chocolatey Automatic Package Updater Module](https://github.com/majkinetor/au), and the [PowerShellForGitHub PowerShell Module](https://github.com/microsoft/PowerShellForGitHub), then clone this repository.
Once cloned, simply run `build.ps1`. The ZIP archive is intentionally untracked to avoid bloating the repository, so the script will download the LiveSplit portable ZIP archive from the official distribution point, then packs everything together.
A successful build will create `livesplit.x.y.z.nupkg`, where `x.y.z` should be the Nuspec's normalized `version` value at build time.
>[!Note]
>Chocolatey package builds are non-deterministic. Consequently, an independently built package's checksum will not match that of the officially published package.
## Update
This package should be automatically updated by the [Chocolatey Automatic Package Updater Module](https://github.com/majkinetor/au), with update queries implemented by the [PowerShellForGitHub PowerShell Module](https://github.com/microsoft/PowerShellForGitHub). If it is outdated by more than a few days, please [open an issue](https://github.com/brogers5/chocolatey-package-livesplit/issues).
AU expects the parent directory that contains this repository to share a name with the Nuspec (`livesplit`). Your local repository should therefore be cloned accordingly:
```shell
git clone git@github.com:brogers5/chocolatey-package-livesplit.git livesplit
```
Alternatively, a junction point can be created that points to the local repository (preferably within a repository adopting the [AU packages template](https://github.com/majkinetor/au-packages-template)):
```shell
mklink /J livesplit ..\chocolatey-package-livesplit
```
Once created, simply run `update.ps1` from within the created directory/junction point. Assuming all goes well, all relevant files should change to reflect the latest version available. This will also build a new package version using the modified files.
Before submitting a pull request, please [test the package](https://docs.chocolatey.org/en-us/community-repository/moderation/package-verifier#steps-for-each-package) with a Windows 10 20H2+ environment similar to the [Chocolatey Testing Environment](https://github.com/chocolatey-community/chocolatey-test-environment) first.