Overview:
This plug-in helps developers
to upload and update their plug-ins easily.
Before use BACK-UP
!!!
Detailed Info:
The regex is "up 0 1.21.12f", where:
- 0 - describes, which folder is to be updated. The script searches FARR
plug-in folder only. So you should have your updated plug-in in that folder.
- 1.21.12 - If you are not satisfied with proposed new version, you can
change it easily
- f - by hitting f, the upload process starts
Some examples:
- "up 5f" - chooses folder "5" and starts upload process - short way
- "up 5 1.21f" - You can choose what ever plug-in version you wish. It
just has to finish with at least one digit
Every folder which is to be uploaded by the script must contain
upload_setting.xml
<?xml version="1.0"?>
<options>
<author_web value=""/>
<ftp value=""/>
<ftpweb value=""/>
<ftpfolder value=""/>
<username value=""/>
<password value=""/>
</options> |
Script procedure:
- After installation of the script you are asked to write "Folder where to
search", which means to describe position of your plug-in folder (e.g.
C:\Program Files\FindAndRunRobot\Plugins)
- Displays of the folders in FARR/Plug-in folder
- Tries to find *.dcupdate file
- On success it uses the files
- On fail it creates a new file where the setting is:
- it searches *.ico file and uses it
- label - "folder name"+"
(FARR2 Plugin)"
- WebPage
- Web Page from settings
- InstallDirectory -
Plugins\"folder name"
- UpdateFile
- "Web of the ftp"+"Dir. path"+"folder name"+"folder
name"+zip
- VersionFileRemote - "Web
of the ftp"+"Dir. path"+"folder name"+versioninfo.xml
- Version - according to
your setting
- Creates versioninfo.xml with new version info
- Tries to find fscript.js
- On success it searches for versionstring=".*?" and corrects version
- On fail - you have to correct version info in DLL by yourself
- Creates "update_TMP" folder in FARR\plugin directory and saves there
"folder name".zip and versioninfo.xml
- uploads everything to the FTP
- Deletes "update_TMP" folder