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 hashes)