Author: adrian
Date: Thu Jan 21 13:57:36 2010
New Revision: 8390
URL: http://svn.slimdevices.com/jive?rev=8390&view=rev
Log:
Bug: N/A
Description: use 3 level version number + svn revision in applet installer
query so we can target applets more specifically
Modified:
7.5/trunk/squeezeplay/src/squeezeplay/share/applets/SetupAppletInstaller/SetupAppletInstallerApplet.lua
Modified:
7.5/trunk/squeezeplay/src/squeezeplay/share/applets/SetupAppletInstaller/SetupAppletInstallerApplet.lua
URL:
http://svn.slimdevices.com/jive/7.5/trunk/squeezeplay/src/squeezeplay/share/applets/SetupAppletInstaller/SetupAppletInstallerApplet.lua?rev=8390&r1=8389&r2=8390&view=diff
==============================================================================
---
7.5/trunk/squeezeplay/src/squeezeplay/share/applets/SetupAppletInstaller/SetupAppletInstallerApplet.lua
(original)
+++
7.5/trunk/squeezeplay/src/squeezeplay/share/applets/SetupAppletInstaller/SetupAppletInstallerApplet.lua
Thu Jan 21 13:57:36 2010
@@ -66,6 +66,10 @@
self.title = self.title or menuItem.text
self.window = self.window or Window("text_list", self.title)
self.auto = action and action == 'auto'
+
+ local v1, v2, v3, v4 = string.match(JIVE_VERSION,
"(%d+)%.(%d+)%.(%d+)%sr(%d+)")
+ local version = v1 .. "." .. v2 .. "." .. v3 .. "." .. v4
+ log:info("requesting applets for version: ", version)
-- find the applet directory
for dir in package.path:gmatch("([^;]*)%?[^;]*;") do
@@ -105,7 +109,7 @@
player,
{ "jiveapplets",
"target:" .. System:getMachine(),
- "version:" .. string.match(JIVE_VERSION,
"(%d%.%d)"),
+ "version:" .. version,
opt and "optstr:other|user" or "optstr:none",
}
)
_______________________________________________
Jive-checkins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/jive-checkins