From: Jay Freeman (saurik) Date: Mon, 9 Nov 2009 21:19:06 +0000 (+0000) Subject: Added a PhotoExample.cydget and renamed Cycript= to CycriptURLs=. X-Git-Tag: v0.9.4000~48 X-Git-Url: https://git.saurik.com/cydget.git/commitdiff_plain/17854c1ad25c3d5f6e94d083e3aaaa86c780ad36?ds=inline Added a PhotoExample.cydget and renamed Cycript= to CycriptURLs=. --- diff --git a/LockScreen.mm b/LockScreen.mm index 4333ce9..0fc9a10 100644 --- a/LockScreen.mm +++ b/LockScreen.mm @@ -532,7 +532,7 @@ class Pcre { NSDictionary *configuration([$CydgetController currentConfiguration]); - cycript_ = [configuration objectForKey:@"Cycript"]; + cycript_ = [configuration objectForKey:@"CycriptURLs"]; scrollable_ = [[configuration objectForKey:@"Scrollable"] boolValue]; [scroller_ setScrollingEnabled:scrollable_]; diff --git a/PhotoExample.cydget/Info.plist b/PhotoExample.cydget/Info.plist new file mode 100644 index 0000000..700b552 --- /dev/null +++ b/PhotoExample.cydget/Info.plist @@ -0,0 +1,8 @@ +Tagline = "a lame example Cydget that renders Camera photos"; +Plugin = "WebCycriptLockScreen"; + +Configuration = { + Homepage = "file:///System/Library/LockCydgets/PhotoExample.cydget/index.html"; + CycriptURLs = "^file:///System/Library/LockCydgets/PhotoExample\\.cydget/index\\.html$"; + Scrollable = "NO"; +}; diff --git a/PhotoExample.cydget/index.html b/PhotoExample.cydget/index.html new file mode 100644 index 0000000..ff28b98 --- /dev/null +++ b/PhotoExample.cydget/index.html @@ -0,0 +1,129 @@ + + + +
+ diff --git a/Welcome.plist b/Welcome.plist index ba23259..96020d2 100644 --- a/Welcome.plist +++ b/Welcome.plist @@ -3,6 +3,6 @@ Plugin = "WebCycriptLockScreen"; Configuration = { Homepage = "file:///System/Library/LockCydgets/Welcome.cydget/Welcome.html"; - Cycript = "^file:///System/Library/LockCydgets/Welcome\\.cydget/Welcome\\.html$"; + CycriptURLs = "^file:///System/Library/LockCydgets/Welcome\\.cydget/Welcome\\.html$"; Scrollable = "NO"; }; diff --git a/control b/control index 353bc85..a0b2e39 100644 --- a/control +++ b/control @@ -3,7 +3,7 @@ Priority: optional Section: Development Maintainer: Jay Freeman (saurik) Architecture: iphoneos-arm -Version: 0.9.3085-1 +Version: 0.9.3086-1 Description: framework for managing lock screen plugins Name: Cydget Depends: mobilesubstrate (>= 0.9.2587-1), firmware (>= 2.2), preferenceloader, apr-lib, pcre diff --git a/makefile b/makefile index 0a85f5b..3acf1a1 100644 --- a/makefile +++ b/makefile @@ -23,6 +23,7 @@ extra: cp -a Welcome.html package/System/Library/LockCydgets/Welcome.cydget cp -a Welcome.plist package/System/Library/LockCydgets/Welcome.cydget/Info.plist svn export AwayView.cydget package/System/Library/LockCydgets/AwayView.cydget + svn export PhotoExample.cydget package/System/Library/LockCydgets/PhotoExample.cydget mkdir -p package/System/Library/SpringBoardPlugins/WebCycriptLockScreen.bundle cp -a Info.plist package/System/Library/SpringBoardPlugins/WebCycriptLockScreen.bundle cp -a WebCycriptLockScreen package/System/Library/SpringBoardPlugins/WebCycriptLockScreen.bundle