Jump to content
Ketarin forum
FreeRapid Downloader (wordrider uz nehostuje)
Guest
By Guest, 02/16/2015
  • 72 downloads
  • Updated:

File Details

(Show)XML Contents

            <?xml version="1.0" encoding="utf-8"?>
<Jobs>
  <ApplicationJob xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Guid="48b426ea-f649-480d-8bd5-ac7d6c982d20">
    <WebsiteUrl>http://wordrider.net/freerapid/index.html</WebsiteUrl>
    <UserAgent/>
    <UserNotes>uz nejde DL:
http://wordrider.net/download/FreeRapid-{Version}.zip</UserNotes>
    <LastFileSize>15323741</LastFileSize>
    <LastFileDate>2014-04-15T01:19:24.8167931</LastFileDate>
    <IgnoreFileInformation>false</IgnoreFileInformation>
    <DownloadBeta>Default</DownloadBeta>
    <DownloadDate xsi:nil="true"/>
    <CheckForUpdatesOnly>false</CheckForUpdatesOnly>
    <VariableChangeIndicator>Version</VariableChangeIndicator>
    <CanBeShared>true</CanBeShared>
    <ShareApplication>true</ShareApplication>
    <ExclusiveDownload>false</ExclusiveDownload>
    <HttpReferer/>
    <SetupInstructions>
      <SetupInstruction xsi:type="CloseProcessInstruction">
        <ProcessName>javaw</ProcessName>
      </SetupInstruction>
      <SetupInstruction xsi:type="CustomSetupInstruction">
        <Code>rem -- add VERSION value to Katerin DB
sqlite3 "%AppData%\Ketarin\jobs.db" "select * from variables where JobGuid='{appguid}' AND VariableName='Current Ver';" | find "Current Ver"
rem IF Current Ver exist for JobGuid? - INSERT else UPDATE
if errorlevel 1 ( sqlite3 "%AppData%\Ketarin\jobs.db" "INSERT INTO variables (VariableName,VariableType,TextualContent,CachedContent,RegexRightToLeft,JobGuid) VALUES ('Current Ver',2,'{Version}','{Version}',0,'{appguid}');"
) else sqlite3 "%AppData%\Ketarin\jobs.db" "UPDATE variables SET TextualContent='{Version}' WHERE JobGuid='{appguid}' AND VariableName='Current Ver';"
</Code>
        <Type>Batch</Type>
      </SetupInstruction>
      <SetupInstruction xsi:type="CustomSetupInstruction">
        <Code>rem -- get path for this download
for %f in ("{file}") do (
 	set UpdateDir=%~dpf
)
rem -- without last slash
set UpdateDir=%UpdateDir:~,-1%
7z x -y "{file}" -o"%UpdateDir%"
for /d %d in ("%UpdateDir%\*") do (
	xcopy "%d\*.*" "%UpdateDir%\..\" /e /i /h /k /y
	rmdir "%d" /s /q
)
del "{file}"</Code>
        <Type>Batch</Type>
      </SetupInstruction>
    </SetupInstructions>
    <Variables>
      <item>
        <key>
          <string>Version</string>
        </key>
        <value>
          <UrlVariable>
            <RegexRightToLeft>false</RegexRightToLeft>
            <VariableType>RegularExpression</VariableType>
            <Regex>Current version is\s*(?:<\w+>)?FreeRapid Downloader (\d+[.]\w+)\s*<</Regex>
            <Url>http://wordrider.net/freerapid/download.htm</Url>
            <Name>Version</Name>
          </UrlVariable>
        </value>
      </item>
    </Variables>
    <ExecuteCommand/>
    <ExecutePreCommand/>
    <ExecuteCommandType>Batch</ExecuteCommandType>
    <ExecutePreCommandType>Batch</ExecutePreCommandType>
    <Category>Internet</Category>
    <SourceType>FixedUrl</SourceType>
    <PreviousLocation/>
    <DeletePreviousFile>true</DeletePreviousFile>
    <Enabled>true</Enabled>
    <FileHippoId/>
    <LastUpdated>2014-04-15T01:19:24.8167931</LastUpdated>
    <TargetPath>{portProgPath}\_internet_\FreeRapid\~update~\</TargetPath>
    <FixedDownloadUrl/>
    <Name>FreeRapid Downloader (wordrider uz nehostuje)</Name>
  </ApplicationJob>
</Jobs>

        

Comments

There are no comments to display.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Add your comment...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.