-
Notifications
You must be signed in to change notification settings - Fork 54
Old
Repo config (add this to the packages array) (this will stay in v4):
{
"name": "Test",
"bundleid": "uwu.lrdsnow.test",
"author": "Lrdsnow",
"description": "Test",
"long_description": "Test",
"version": "1.0",
"icon": "icons/PlaceHolderIcon.png",
"banner":"icons/PlaceHolderBanner.png",
"path": "pkgs/uwu.lrdsnow.test.purekfd",
"screenshots":["icons/PlaceHolderScreenshot.png"]
}
info.json (In package):
{
"version" : "1.0",
"author" : "Lrdsnow",
"name" : "Test",
"bundleID" : "uwu.lrdsnow.test"
}
tweak.json (In Package):
{
"operations" : [],
"spec" : "1.0"
}
spec?
: Only required for picasso, purekfd does not use this
operations:Array
: Operations for the package, Possible operations:
-
springboardColor
: Changes springboard colors, sub-options:-
springboardElement:String
: Chooses what element to change, Possible options:-
bannerbg
: Changes Notification Banner Background -
bannershadow
: Changes Notification Banner Shadow Background -
ccbg
: Changes Control Center Background -
cctile
: Changes Control Center Tile Background -
dock
: Changes Dock Background -
folder
: Changes folder icon background -
folderbg
: Changes folder background -
libraryFolder
: Changes App Library folder background -
switcher
: Changes App Switcher Color
-
-
-
replacing
: Replaces a file, sub-options:-
replacementFileName:String
: Path to replacement file -
replacementFileBundled:Bool
: MakesreplacementFileName
Relative to the package folder -
originPath:String
: Target file name
-
-
resset
: Sets the resolution -
accentOperation
: Sets the Accent -
supervise
: Supervises the device -
changeregion
: Changes the device region -
whitelist
: Runs Whitelist -
clearsms
: Clears SMS Cache -
dynamicIsland
: Sets subtype to 2796 -
fixdynamicIsland
: Sets subtype to screen hight -
removing
: Hides a file, sub-options:-
originPath:String
: Path to file to hide
-
prefs.json (In Package):
{
"preferences" : [
{
"valueType" : "picker",
"key" : "picker",
"options": ["test1", "test2", "test3"],
"optionValues": [0, 0, 0],
"title" : "Test",
"description" : "Test"
},
{
"valueType" : "resfield",
"key" : "resfield",
"title" : "Test",
"description" : "Test"
},
{
"valueType" : "color",
"key" : "color",
"title" : "Test",
"description" : "Test"
},
{
"valueType" : "string",
"key" : "string",
"title" : "Test",
"description" : "Test"
},
{
"valueType" : "double",
"key" : "double",
"title" : "Test",
"description" : "Test"
},
{
"valueType" : "int",
"key" : "int",
"title" : "Test",
"description" : "Test"
},
{
"valueType" : "bool",
"key" : "bool",
"title" : "Test",
"description" : "Test"
},
]
}
preferences
: Package Preferences:
-
valueType:String
: Type of pref -
key:String
: Key of pref -
title:String
: Pref Title -
description:String
: Pref Description
In Repo Config:
"featured": [
{
"name": "Test",
"bundleid": "uwu.lrdsnow.test",
"banner": "icons/PlaceHolderBanner.png",
"fontcolor":"#FFFFFF",
"showname":true
}
],
name:String
: Name of Package (Can be different from the actual package name)
bundleid:String
: Bundle ID of package
banner:String
: Banner picture relative to the repo (Best Resolution for this image is 800x500)
fontcolor:String?
: Color of Name font
showname:Bool?
: Wether to show the name or not
This should be config.json
in your package (This works for all packages as purekfd only searches for the file)
{
"ImageName:image": "https://github.com/Lrdsnow/lrdsnows-repo/blob/main/PureKFD-test/icons/PlaceHolderBanner.png?raw=true",
"Test Tweak Prefs:label": "#FFFFFF",
"Link Label:link": "https://example.com",
"Navlink Label:navlink": {
"A New View!:label": ""
},
"Segment Label:segment": [
"SegmentSaveAsVariable",
{
"Segment 1 Label": [
"Segment 1 Value",
{
"Segment 1:label": "#0000FF"
}
],
"Segment 2 Label": [
"Segment 2 Value",
{
"Segment 2:label": "#FF0000"
}
]
}
],
"Section Label:section": {
"A Section!:label": ""
},
"Show Extras (Toggle Label):hidertoggle": [
"VariableToSaveAs0",
{
"true": {
"Toggle is on!:label": ""
},
"false": {
"Toggle is off:label": ""
}
}
],
"Toggle Label:toggle": "VariableToSaveAs1",
"Color Picker Label:colorpicker": "VariableToSaveAs2",
"Stepper Label:int": "VariableToSaveAs3",
"Int Input Label:intpad": "VariableToSaveAsIntPad",
"Double/Slider Label:double": "VariableToSaveAs4",
"Picker Label:picker": [
"VariableToSaveAs5",
[
"Picker Option 1",
"Picker Option 2"
]
],
"Text Field Label:string": "VariableToSaveAs6",
"Image Picker Label:imagepicker": "VariableToSaveAs7",
"File Picker Label:filepicker": "VariableToSaveAs8",
"Preset Section Label:presets": {
"Preset1": {
"VariableToSaveAs1": true,
"VariableToSaveAs2": "#c2f1ff",
"VariableToSaveAs3": 1,
"VariableToSaveAs4": 1,
"VariableToSaveAs5": 1,
"VariableToSaveAs6": "Hello World!",
"VariableToSaveAs7": null,
"VariableToSaveAs8": null,
"SegmentSaveAsVariable": [0, "Segment 1 Value"]
},
"Preset2": {
"VariableToSaveAs1": false,
"VariableToSaveAs2": "#ebc2ff",
"VariableToSaveAs3": 0,
"VariableToSaveAs4": 0,
"VariableToSaveAs5": 0,
"VariableToSaveAs6": "",
"VariableToSaveAs7": null,
"VariableToSaveAs8": null,
"SegmentSaveAsVariable": [1, "Segment 2 Value"]
}
}
}
This should be very clear to understand syntax is literally just Label:ValueType
(if anyone feels like doing a real writeup on how to use this ill use it lol)
Things with ? (for example showname?) are not required and the repo will work just fine without it
{
"spec":"1.0",
"repotype":"purekfdextended",
"name": "Test Repo",
"description": "Test Repo Description",
"icon": "icons/RepoIcon.png",
"featured": [
{
"name": "Test",
"bundleid": "uwu.lrdsnow.test",
"banner": "icons/PlaceHolderBanner.png",
"fontcolor":"black",
"showname":true
}
],
"packages": [
{
"name": "Test",
"bundleid": "uwu.lrdsnow.test",
"author": "Lrdsnow",
"description": "Test",
"long_description": "Test",
"version": "1.0",
"icon": "icons/PlaceHolderIcon.png",
"banner":"icons/PlaceHolderBanner.png",
"path": "pkgs/uwu.lrdsnow.test.purekfd",
"screenshots":["icons/PlaceHolderScreenshot.png"]
}
]
}
spec?
: PureKFD doesn't use it but picasso needs it
repotype
: This value can be really any String, this just tells purekfd to extend what it looks for and labels it as a purekfd repo
name
: The name of the repo
description
: The description for the repo
icon
: Relative path to the icon (ex. icons/RepoIcon.png)
featured?
: Featured packages for the repo
packages
: Required packages for the repo
Add featured packages to your repo
Add purekfd exclusive packages
Turn your picasso repo into a purekfd one while still allowing it to be used on picasso
Add featured packages to your repo