cross-platform onboot (autorun) installers
Project description
onboot
cross-platform autostart installer(s)
install
pip3 install onboot
usage
try all available installers for a certain os
from onboot import install_linux, InstallerConfiguration
# install
install_successful, used_installer = install_linux(InstallerConfiguration("/home/user/", "myapp"))
# uninstall
if install_successful:
used_installer.uninstall()
only use a specific installer
from onboot.Windows import HKCUInstaller
from onboot import InstallerConfiguration
# install
installer = HKCUInstaller(InstallerConfiguration("C:\\", "myapp"))
installer.install()
# uninstall
installer.uninstall()
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
onboot-0.6.tar.gz
(5.1 kB
view details)
File details
Details for the file onboot-0.6.tar.gz
.
File metadata
- Download URL: onboot-0.6.tar.gz
- Upload date:
- Size: 5.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 23b65d3a536bc0dab31aa4ca9d6bbcc41368cced00f2436716ceac870c59ef13 |
|
MD5 | 98939eec3569ce7e6f8b9201345aaab6 |
|
BLAKE2b-256 | 331c738c68159bfb2fc3c9ed9c7333ac3572ad629a9a01ddc66ea90ea84c0575 |