Update jitsi-meet-desktop automatically
This commit is contained in:
parent
bed90e3e02
commit
868f6c36a5
19
Rakefile
19
Rakefile
@ -150,6 +150,20 @@ module SlackBuilder
|
||||
commit 'development/composer', version
|
||||
end
|
||||
end
|
||||
|
||||
class JitsiMeetDesktop < Updater
|
||||
def update(version)
|
||||
package = Package.new 'network/jitsi-meet-desktop',
|
||||
version: version,
|
||||
homepage: 'https://jitsi.org/'
|
||||
uri = "https://github.com/jitsi/jitsi-meet-electron/releases/download/v#{version}/jitsi-meet-x86_64.AppImage"
|
||||
checksum = SlackBuilder.download URI(uri), 'slackbuilds/network/jitsi-meet-desktop/jitsi-meet-x86_64.AppImage'
|
||||
|
||||
write_info package, downloads: [Download.new(uri, checksum.hexdigest, is64: true)]
|
||||
update_slackbuild_version 'network/jitsi-meet-desktop', version
|
||||
commit 'network/jitsi-meet-desktop', version
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
php_transform = proc do |version|
|
||||
@ -166,7 +180,10 @@ AUTO_UPDATABLE = {
|
||||
'php82' => [SlackBuilder::GitHub.new('php', 'php-src', php_transform)],
|
||||
'rdiff-backup' => [SlackBuilder::GitHub.new('rdiff-backup', 'rdiff-backup', rdiff_backup_transform)],
|
||||
'librsync' => [SlackBuilder::GitHub.new('librsync', 'librsync')],
|
||||
'jitsi-meet-desktop' => [SlackBuilder::GitHub.new('jitsi', 'jitsi-meet-electron')],
|
||||
'jitsi-meet-desktop' => [
|
||||
SlackBuilder::GitHub.new('jitsi', 'jitsi-meet-electron'),
|
||||
SlackBuilder::JitsiMeetDesktop.new
|
||||
],
|
||||
'dmd' => [SlackBuilder::LatestText.new('https://downloads.dlang.org/releases/LATEST')]
|
||||
}.freeze
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user