crutchcorn / WMIControl

WMI scanner, asset management medium, and management software
Mozilla Public License 2.0
12 stars 4 forks source link

Create a firstrun program to handle initial program setup #35

Closed crutchcorn closed 7 years ago

crutchcorn commented 7 years ago

Depends and works in tandum with #33. Currently you must populate the database manually. It would be highly ideal to do this automatically (by default anyway). Depends on #16

crutchcorn commented 7 years ago

The only step now is to add a check for firstrun in main.py. I'll likely split this off into it's own file. I want to leave it be until packaging (#34) though

crutchcorn commented 7 years ago
Check if example file or if real config file exists.
If example:
    Warn and exit
Elif config:
    pass
else:
    Panic and exit
Copy from package to ~
Have way to tell that config file has not been modified?