Skip to content

Commit

Permalink
update ddb_discord_presence; add git submodule fetching support
Browse files Browse the repository at this point in the history
  • Loading branch information
Oleksiy-Yakovenko committed Nov 21, 2024
1 parent c68870e commit 77b18d1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 27 deletions.
3 changes: 3 additions & 0 deletions build
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,9 @@ for my $package (@packages) {
else {
$rev = `cd temp/$package && git rev-parse --short HEAD`;
}
if ($manifest->{source}->{submodules}) {
system ("cd $ROOT && git submodule update --init") && die "git submodule update failed\n";
}
}
elsif ($manifest->{source}->{type} eq 'hg') {
system ("hg clone --config ui.tls=false $manifest->{source}->{url} $ROOT") && die "hg clone failed\n";
Expand Down
24 changes: 0 additions & 24 deletions plugins/ddb_discord_presence/make.diff

This file was deleted.

4 changes: 1 addition & 3 deletions plugins/ddb_discord_presence/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,9 @@
supported_platforms: ['linux','mac','windows'],
source: {
type: "git",
submodules: true,
url: "https://github.com/kuba160/ddb_discord_presence.git",
revision: "1.8",
patches: [
"make.diff",
]
},
make: {
type: "make",
Expand Down

0 comments on commit 77b18d1

Please sign in to comment.