Open kootenpv opened 4 years ago
It's just a matter of running a python command on startup, right? If so, as a first pass solution, we can instruct users to do the following:
On Windows:
Create a file nostalgia_chrome_startup.cmd
with the following contents:
python <path-to-script>\<script-name>.py
and place the file in ~\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
where ~
(the user's home directory) is C:\Users\<Username>
If we could use this action through a command-line tool called nostalgia, then it would have access to the Python runtime, and its path, so I think we could fill in the file and place it automatically.
I think the part of... how to ensure it is running might be an interesting one. But maybe not the most important - it seems stable now so it shouldn't crash.
See https://github.com/nostalgia-dev/nostalgia_chrome/blob/master/boot_as_service/nostalgia_chrome.service as an example how it's done on linux