Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
58 changes: 45 additions & 13 deletions src/uds/osmanagers/LinuxOsManager/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,34 +49,66 @@
#_mypath = os.path.dirname(typing.cast(str, sys.modules[__package__].__file__)) # pyright: ignore

downloads_manager().register(
f'udsactor_{VERSION}_all.deb',
_('UDS Actor for Debian, Ubuntu, ... Linux machines <b>(Requires python >= 3.9)</b>'),
_mypath + f'/files/udsactor_{VERSION}_all.deb',
f'udsactor_{VERSION}_amd64-debian12.deb',
_('UDS Actor for Debian 12 / Ubuntu based Linux machines'),
_mypath + f'/files/udsactor_{VERSION}_amd64-debian12.deb',
mimetype='application/x-debian-package',
)

downloads_manager().register(
f'udsactor-{VERSION}-1.noarch.rpm',
_('UDS Actor for Centos, Fedora, RH, Suse, ... Linux machines <b>(Requires python >= 3.9)</b>'),
_mypath + f'/files/udsactor-{VERSION}-1.noarch.rpm',
mimetype='application/x-redhat-package-manager',
f'udsactor_{VERSION}_amd64-debian13.deb',
_('UDS Actor for Debian 13 / Ubuntu based Linux machines'),
_mypath + f'/files/udsactor_{VERSION}_amd64-debian13.deb',
mimetype='application/x-debian-package',
)

downloads_manager().register(
f'udsactor-unmanaged_{VERSION}_all.deb',
f'udsactor-unmanaged_{VERSION}_amd64-debian12.deb',
_(
'UDS Actor for Debian based Linux machines. Used ONLY for static machines. <b>(Requires python >= 3.9)</b>'
'UDS Actor for Debian 12 / Ubuntu based Linux machines. Used ONLY for static machines.'
),
_mypath + f'/files/udsactor-unmanaged_{VERSION}_all.deb',
_mypath + f'/files/udsactor-unmanaged_{VERSION}_amd64-debian12.deb',
mimetype='application/x-debian-package',
)

downloads_manager().register(
f'udsactor-unmanaged-{VERSION}-1.noarch.rpm',
f'udsactor-unmanaged_{VERSION}_amd64-debian13.deb',
_(
'UDS Actor for Debian 13 / Ubuntu based Linux machines. Used ONLY for static machines.'
),
_mypath + f'/files/udsactor-unmanaged_{VERSION}_amd64-debian13.deb',
mimetype='application/x-debian-package',
)

downloads_manager().register(
f'udsactor-{VERSION}.x86_64-fedora.rpm',
_('UDS Actor for Fedora / RHEL based Linux machines'),
_mypath + f'/files/udsactor-{VERSION}.x86_64-fedora.rpm',
mimetype='application/x-redhat-package-manager',
)

downloads_manager().register(
f'udsactor-{VERSION}.x86_64-opensuse.rpm',
_('UDS Actor for openSUSE / SLES based Linux machines'),
_mypath + f'/files/udsactor-{VERSION}.x86_64-opensuse.rpm',
mimetype='application/x-redhat-package-manager',
)

downloads_manager().register(
f'udsactor-unmanaged-{VERSION}.x86_64-fedora.rpm',
_(
'UDS Actor for Fedora / RHEL based Linux machines. Used ONLY for static machines.'
),
_mypath + f'/files/udsactor-unmanaged-{VERSION}.x86_64-fedora.rpm',
mimetype='application/x-redhat-package-manager',
)

downloads_manager().register(
f'udsactor-unmanaged-{VERSION}.x86_64-opensuse.rpm',
_(
'UDS Actor for Centos, Fedora, RH, Suse, ... Linux machines. Used ONLY for static machines. <b>(Requires python >= 3.9)</b>'
'UDS Actor for openSUSE / SLES based Linux machines. Used ONLY for static machines.'
),
_mypath + f'/files/udsactor-unmanaged-{VERSION}-1.noarch.rpm',
_mypath + f'/files/udsactor-unmanaged-{VERSION}.x86_64-opensuse.rpm',
mimetype='application/x-redhat-package-manager',
)

37 changes: 23 additions & 14 deletions src/uds/web/util/udsclients_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,41 +16,50 @@
)
for url, description, name, legacy in (
(
'UDSClientSetup-{version}.exe',
'UDSLauncherInstaller-{version}.exe',
gettext('Windows client'),
'Windows',
False,
),
('UDSClient-{version}.pkg', gettext('Mac OS X client'), 'MacOS', False),
(
'udsclient3_{version}_all.deb',
gettext('Debian based Linux client') + ' ' + gettext('(requires Python-3.9 or newer)'),
'UDSLauncher-{version}.pkg',
gettext('macOS client (Apple Silicon)'),
'MacOS',
False,
),
(
'UDSLauncher-{version}-intel.pkg',
gettext('macOS client (Intel)'),
'MacOS',
False,
),
(
'udslauncher_{version}_amd64-debian12.deb',
gettext('Debian 12 / Ubuntu based Linux client'),
'Linux',
False,
),
(
'udsclient3-{version}-1.noarch.rpm',
gettext('RPM based Linux client (Fedora, Suse, ...)')
+ ' '
+ gettext('(requires Python-3.9 or newer)'),
'udslauncher_{version}_amd64-debian13.deb',
gettext('Debian 13 / Ubuntu based Linux client'),
'Linux',
False,
),
(
'udsclient3-x86_64-{version}.tar.gz',
gettext('Binary appimage X86_64 Linux client'),
'udslauncher-{version}.x86_64-fedora.rpm',
gettext('Fedora / RHEL based Linux client (RPM)'),
'Linux',
False,
),
(
'udsclient3-armhf-{version}.tar.gz',
gettext('Binary appimage ARMHF Linux client (Raspberry, ...)'),
'udslauncher-{version}.x86_64-opensuse.rpm',
gettext('openSUSE / SLES based Linux client (RPM)'),
'Linux',
False,
),
(
'udsclient3-{version}.tar.gz',
gettext('Generic .tar.gz Linux client') + ' ' + gettext('(requires Python-3.9 or newer)'),
'udslauncher-{version}-x86_64-appimage.AppImage',
gettext('Portable AppImage Linux client (x86_64)'),
'Linux',
False,
),
Expand Down
Loading