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.7.tar.gz
(5.1 kB
view details)
File details
Details for the file onboot-0.7.tar.gz
.
File metadata
- Download URL: onboot-0.7.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 | 1ab419227d294c1b389068948378f39562a4fe7193428673bf59399fdf0a2c94 |
|
MD5 | 92639c5fd41d054be399cc4217036a01 |
|
BLAKE2b-256 | 333604850720ee092320cc055c685a178bcd4188d84cb6c65c64dc813a785a92 |