From 7728ff5912aebe2b21a3c0ca0d8624ec97dabdb6 Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Sun, 29 Jan 2012 21:55:26 +0100 Subject: Export runtime detected paths to lua scripts. Adapt stopwatch to not use hardcoded path. Change-Id: I5b843002d63a332b3fad02973d00b9863d283062 --- apps/plugins/stopwatch.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/plugins/stopwatch.lua') diff --git a/apps/plugins/stopwatch.lua b/apps/plugins/stopwatch.lua index c8fac3c..87773e3 100644 --- a/apps/plugins/stopwatch.lua +++ b/apps/plugins/stopwatch.lua @@ -25,7 +25,7 @@ require "actions" require "buttons" -STOPWATCH_FILE = "/.rockbox/rocks/apps/stopwatch.dat" +STOPWATCH_FILE = rb.PLUGIN_APPS_DATA_DIR .. "/stopwatch.dat" local LapsView = { -- cgit v1.1