And, what if they changed the directory they install to? Or, what if they are using a 64-bit OS, but have installed the 32-bit version of TortoiseSVN (hence, a different install path)? Or, what if they aren't even using TortoiseSVN?
It's a good idea, but bad to make assumptions on their install path.
EDIT: looks like TortoiseSVN's bin directory automatically adds itself as a PATH environment variable, so the install path shouldn't mater. Still raises problems if they use anything other than TortoiseSVN, though.
Ok, I've added svnupdate.lua and SVN.update.bat. This script will help the user to configure TortoiseSVN to update their RoM scripts (all they have to do is just click "OK" on the dialogs now. They do not need to provide any other information or know what they are doing), and then attempt to update their files. Optionally, it can revert any changes they have made (but this is not the default for obvious reasons).
"You must allow system commands in your config file in order to use this script"
It would help if it said which file that is. I looked through a couple files and have found no references to allow system commands. If it's a line that needs to be added, could you say what that line should be and in which file?
"You must allow system commands in your config file in order to use this script"
It would help if it said which file that is. I looked through a couple files and have found no references to allow system commands. If it's a line that needs to be added, could you say what that line should be and in which file?
Check your config.lua file in the micromacro base folder. You must have allowSystemCommands on (true).
-- MicroMacro main configuration file
------------------------------------------------------
-- Language
------------------------------------------------------
-- Language modules are located in lib/mods/language
-- Typically, you want to use the two letter abbreviation
-- for your language. ie. en for English, es for spanish
-- or de for German.
language = "en"
------------------------------------------------------
-- Keyboard
------------------------------------------------------
-- Keyboard layout modules are located in lib/mods/keyboard
-- These may be more specific than language is. That is,
-- en_us (US English keyboard) differentiates from en_uk
-- (British English keyboard).
keyboard = "en_us"
May I ask for the exact line I need to put in there?