Skip to content

nbdy/onboot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

onboot

cross-platform autostart installer(s)

features

  • Linux
    • XDG
    • Cron
    • Profile.d
    • KDE Plasma
    • Init.d
  • Darwin
    • PList
    • Cron
  • Windows
    • StartMenu
    • Registry
      • HKCU
      • HKLM
      • IFEO
      • UserInit (Winlogon)
    • WMCI
    • Task scheduler
    • Cortana
    • People

todo

  • Tests
  • Handling of specific exceptions instead of the catch-all "except:"

install

pip 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()

About

cross-platform onboot (autorun) installers

Topics

Resources

License

Stars

Watchers

Forks

Languages