Skip to content

Commit ae7fbff

Browse files
committed
Added necessary files for chocolatey package
1 parent 646ed63 commit ae7fbff

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

build.cake

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,22 +40,23 @@ Task("Pack")
4040
var now = DateTime.UtcNow;
4141
var secondsToday = (long)now.TimeOfDay.TotalSeconds;
4242
var daysSince2000 = (long)(now - new DateTime(2000, 01, 01, 00, 00, 00, DateTimeKind.Utc)).TotalDays;
43-
43+
4444
var settings = new ChocolateyPackSettings {
4545
Id = "obs-studio-wiiplayer2-scripts",
4646
Title = "DarkLink's Scripts for OBS Studio",
47-
Version = $"0.0.{daysSince2000}.{secondsToday}",
47+
Version = $"0.1.{daysSince2000}.{secondsToday}",
4848
Authors = new[] { "WiiPlayer2" },
4949
Owners = new[] { "WiiPlayer2" },
5050
Summary = "DarkLink's Scripts for OBS Studio",
51-
Description = "DarkLink's Scripts for OBS Studio",
51+
Description = System.IO.File.ReadAllText("./README.md"),
5252
ProjectUrl = new Uri("https://github.com/WiiPlayer2/obs-scripts"),
5353
PackageSourceUrl = new Uri("https://github.com/WiiPlayer2/obs-scripts"),
5454
ProjectSourceUrl = new Uri("https://github.com/WiiPlayer2/obs-scripts"),
5555
DocsUrl = new Uri("https://github.com/WiiPlayer2/obs-scripts"),
5656
MailingListUrl = new Uri("https://github.com/WiiPlayer2/obs-scripts"),
5757
BugTrackerUrl = new Uri("https://github.com/WiiPlayer2/obs-scripts"),
58-
Tags = new[] { "obs", "scripts", "filter" },
58+
ReleaseNotes = new [] { "https://github.com/WiiPlayer2/obs-scripts/releases" },
59+
Tags = new [] { "obs", "scripts", "filter" },
5960
Copyright = $"WiiPlayer2 / DarkLink (c) {now.Year}",
6061
LicenseUrl = new Uri("https://github.com/WiiPlayer2/obs-scripts/blob/master/LICENSE"),
6162
RequireLicenseAcceptance = false,
@@ -70,6 +71,8 @@ Task("Pack")
7071
new ChocolateyNuSpecDependency { Id = "obs-studio" },
7172
},
7273
Files = new [] {
74+
new ChocolateyNuSpecContent { Source = "LICENSE*", Target = "tools" },
75+
new ChocolateyNuSpecContent { Source = "cake/choco/VERIFICATION.txt", Target = "tools" },
7376
new ChocolateyNuSpecContent { Source = "cake/choco/chocolateyInstall.ps1", Target = "tools" },
7477
new ChocolateyNuSpecContent { Source = "build/scripts.zip", Target = "data" },
7578
},

cake/choco/VERIFICATION.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
This package is published by myself, WiiPlayer2 / DarkLink (https://github.com/WiiPlayer2). The binary (scripts.zip) is the packed content of the src folder of the source code repository (https://github.com/WiiPlayer2/obs-scripts).

0 commit comments

Comments
 (0)