-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathSwitcherLoader_plugin.nic
71 lines (67 loc) · 1.81 KB
/
SwitcherLoader_plugin.nic
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
nic 1
name "iphone/SwitcherLoader_plugin"
dir Resources
file 32 Resources/Info.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleExecutable</key>
<string>@@PROJECTNAME@@</string>
<key>CFBundleIdentifier</key>
<string>@@PACKAGENAME@@</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundlePackageType</key>
<string>BNDL</string>
<key>CFBundleShortVersionString</key>
<string>1.0.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1.0</string>
<key>DTPlatformName</key>
<string>iphoneos</string>
<key>MinimumOSVersion</key>
<string>4.2</string>
<key>NSPrincipalClass</key>
<string>@@PROJECTNAME@@_view</string>
<key>name</key>
<string>@@PROJECTNAME@@</string>
<key>icon</key>
<string>@@PROJECTNAME.png</string>
</dict>
</plist>
file 15 @@PROJECTNAME@@.mm
@interface @@PROJECTNAME@@_view : UIView
@end
@implementation @@PROJECTNAME@@_view
-(id)initWithFrame:(CGRect)frame {
if((self = [super initWithFrame:frame])) {
self.backgroundColor = [UIColor redColor];
}
return self;
}
-(void)layoutSubviews {
//Add any subviews
}
@end
file 7 Makefile
include theos/makefiles/common.mk
BUNDLE_NAME = @@PROJECTNAME@@
@@PROJECTNAME@@_FILES = @@PROJECTNAME@@.mm
@@PROJECTNAME@@_INSTALL_PATH = /Library/SwitcherLoader/Plugins
@@PROJECTNAME@@_FRAMEWORKS = UIKit
include $(THEOS_MAKE_PATH)/bundle.mk
file 9 control
Package: @@PACKAGENAME@@
Name: @@FULLPROJECTNAME@@
Depends: com.fr0zensun.switcherloader
Version: 0.0.1
Architecture: iphoneos-arm
Description: An awesome SwitcherLoader plugin
Maintainer: @@USER@@
Author: @@USER@@
Section: Addons (SwitcherLoader)