Skip to content

Commit

Permalink
Merge pull request #2 from claudiodekker/portablelinux
Browse files Browse the repository at this point in the history
Add ungoogled-software/ungoogled-chromium-portablelinux
  • Loading branch information
claudiodekker committed Feb 6, 2024
2 parents ae053c5 + eab5c05 commit 05ea740
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions public/repositories.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,24 @@ export default {
}),
}))
},
'ungoogled-software/ungoogled-chromium-portablelinux': async (release) => {
const pattern = /ungoogled-chromium[_-](?<version>\d+(?:[.]\d+)+)-(?<revision>\d+)\.(?<package_revision>\d+)(?<type>_linux\.tar\.xz|\.AppImage)/

return HELPERS.githubReleaseDefaultMapper(release, (release) => ({
...release,
name: 'Ungoogled-Chromium ' + release.tag_name,
assets: release.assets.map((asset) => {
const assetDetails = HELPERS.extract(asset.name, pattern)

return {
...asset,
arch: ENUMS.ARCH.x86_64,
os: ENUMS.OS.linux,
discriminator: assetDetails.type === '.AppImage' ? 'AppImage' : undefined,
}
}),
}))
},
'ungoogled-software/ungoogled-chromium-windows': async (release) => {
const pattern = /ungoogled-chromium[_-](?<version>\d+(?:[.]\d+)+)-(?<revision>\d+)\.(?<package_revision>\d+)_(installer|windows)_(?<arch>x64|x86)\.(?<type>exe|zip)/

Expand Down

0 comments on commit 05ea740

Please sign in to comment.