Skip to main content

cross-platform onboot (autorun) installers

Project description

pyautorun

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.5.tar.gz (4.4 kB view details)

Uploaded Source

File details

Details for the file onboot-0.5.tar.gz.

File metadata

  • Download URL: onboot-0.5.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.2

File hashes

Hashes for onboot-0.5.tar.gz
Algorithm Hash digest
SHA256 2cb9fb8cb7e9350744733c1a18e0f69020219c96e94eca62297d26e42faed7ad
MD5 2ea6277a214612c98f55c5a02876f7c5
BLAKE2b-256 91aab8377babf18e8c43aaf502cbe6b4a1addedb8c48cabf8d85f977d36a7bfa

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page