Closed the-golem closed 12 years ago
I found a fix for this. For rebooting, we can use:
wx.wxShutdown(wx.wxSHUTDOWN_REBOOT)
However, given the changes we've discussed, the reason why we've been calling a reboot actually won't get triggered anymore, so it does make sense to plan for it.
For logging off, I just thought of this genius method, and it's been tested to work
local litestep = getLitestepExecPath()
wx.wxExecute(litestep .. " !logoff")
Username (on your computer): Darrin
Operating System: Windows 7 Ultimate 64-bit
Installer Language: English Installer Components: LOSS.lua Destination Folder: C:\LiteStep\utilities User Profiles Location: C:\LiteStep
Bug: Non-functional logoff/reboot option in the SetShell Utility Details: When using the command-line options through the desktop shortcuts, or the "full version" through the menu, selecting the logoff/reboot option seems to not work. After the warning box comes up, I hit "Yes" and then a command window flashes briefly for half a second, and then goes away. Then I sit there and watch my computer not logoff or reboot.