Open GoogleCodeExporter opened 9 years ago
Original comment by kay....@gmail.com
on 11 Apr 2009 at 2:57
I would ask that the auto-restart check whether you were using the -p option on
startup
(this could be set in a configuration file for XBMCUpdate since it is likely
always
either true or false). The one downside to an auto-restart (a great addition)
would be
restarting in the incorrect mode. This addition would let the update run on
schedule
overnight and the no technical user would never be the wiser since the
interface would
be restarted.
Original comment by sletsc...@gmail.com
on 11 Apr 2009 at 3:27
good thinking sletschin!
i don't know how difficult it would be to implement, but if it could be done
maybe it
would be possible to auto-detect the presence of the -p switch?
maybe have the updater check for the presence of one of the subfolders of the
userdata folder in the xbmc installation path.
for instance, when you first launch the updater, you have to point it to your
xbmc
installation folder - mine is "X:\Program Files (x86)\XBMC"
if the -p flag is not set, my userdata information resides in "C:\Users\Media
Center\AppData\Roaming\XBMC\userdata"
as such, a userdata folder exists in the main installation path - "X:\Program
Files
(x86)\XBMC\userdata" - but since all the information is stored in
appdata\roaming,
the userdata folder within the xbmc installation path does not include
subfolders
such as cache, scripts, plugins, etc.
so if the updater checks the installation path's userdata folder and does not
see
those subfolders, it knows the -p flag is not set. if it does see those
fodlers, it
knows -p is set.
Original comment by sickica...@gmail.com
on 11 Apr 2009 at 8:34
This is what i was thinking, xbmcupdate could look through your start menu,
desktop
and quick launch to see if it can find a shortcut for XBMC and use whatever
parameter
is being used in that shortcut.
another benefit that this provides is i could use that data to detect the
installation path in the first place.
Original comment by kay....@gmail.com
on 11 Apr 2009 at 8:42
thats an even better idea!
it could also detect and use the presence of any other flags, such as -fs.
Original comment by sickica...@gmail.com
on 11 Apr 2009 at 8:44
Original comment by kay....@gmail.com
on 8 Jun 2009 at 9:54
Original issue reported on code.google.com by
sickica...@gmail.com
on 11 Apr 2009 at 12:22