Lvl4Sword / Killer

🔪 System tamper detector for USB, Bluetooth, AC, Battery, Disk Tray, and Ethernet.
https://pypi.org/project/killer/
GNU Affero General Public License v3.0
71 stars 11 forks source link

Improve Windows distribution packaging #34

Closed GhostofGoes closed 3 years ago

GhostofGoes commented 5 years ago

The current Windows installation story is non-standard for a typical Windows user. We should instead distribute it as either a stand-alone executable or a installer. The advantage of an installer is we can install a persistent background Service that the user can toggle on/off, which reduces user disruption (there's no terminal window open). The advantage of a plain exe is it's easy to run and very portable. We could also do both.

Implementation of the exe will be done with PyInstaller and installer with pynsist.

The current flow is:

  1. Download the right version of Python from python.org
  2. Install Python (and pray the default options work)
  3. Open a terminal
  4. pip install Killer (and hope they read the docs properly and use --user
  5. open terminal as Administrator and run killer (and hope it got put on the path)

Goal for standalone exe:

  1. Download killer_portable.exe from GitHub releases (eventually linked from github.io page)
  2. Run killer_portable.exe (and request admin rights with UAC when run)

Goal for installer:

  1. Download killer_installer.exe from GitHub releases (eventually linked from github.io page)
  2. Install killer_installer.exe (and request admin rights with UAC when run)
  3. Click "Enable Killer" and "Disable Killer" in start menu, "Configure Killer" to edit the configuration file (open it in Notepad++), and "Killer help" which hyperlinks to docs (GitHub wiki?).
Lvl4Sword commented 3 years ago

Windows isn't supported, so this is getting closed.