Skip to content

Commit e17f391

Browse files
committed
update ppconfig from pakeplus
1 parent 499caf8 commit e17f391

1 file changed

Lines changed: 1 addition & 167 deletions

File tree

scripts/ppconfig.json

Lines changed: 1 addition & 167 deletions
Original file line numberDiff line numberDiff line change
@@ -1,167 +1 @@
1-
{
2-
"name": "",
3-
"url": "",
4-
"showName": "",
5-
"appid": "",
6-
"icon": "",
7-
"iconRound": true,
8-
"state": true,
9-
"single": true,
10-
"injectJq": true,
11-
"tauriApi": false,
12-
"devbug": false,
13-
"version": "0.0.1",
14-
"platform": "desktop",
15-
"width": 800,
16-
"height": 600,
17-
"desc": "",
18-
"jsFile": [],
19-
"filterCss": "",
20-
"customJs": "",
21-
"isHtml": false,
22-
"htmlPath": "",
23-
"htmlFiles": [],
24-
"more": {
25-
"windows": {
26-
"label": "",
27-
"title": "",
28-
"url": "",
29-
"userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36",
30-
"width": 800,
31-
"height": 600,
32-
"theme": null,
33-
"resizable": true,
34-
"fullscreen": false,
35-
"maximized": false,
36-
"minWidth": 400,
37-
"minHeight": 300,
38-
"maxWidth": 1920,
39-
"maxHeight": 1080,
40-
"decorations": true,
41-
"transparent": false,
42-
"titleBarStyle": "Visible",
43-
"visible": true,
44-
"focus": true,
45-
"closable": true,
46-
"minimizable": true,
47-
"maximizable": true,
48-
"alwaysOnTop": false,
49-
"alwaysOnBottom": false,
50-
"center": false,
51-
"skipTaskbar": false,
52-
"tabbingIdentifier": null,
53-
"parent": null,
54-
"dragDropEnabled": true,
55-
"browserExtensionsEnabled": false,
56-
"devtools": true,
57-
"contentProtected": false,
58-
"hiddenTitle": false,
59-
"incognito": false,
60-
"proxyUrl": null,
61-
"useHttpsScheme": false,
62-
"zoomHotkeysEnabled": false,
63-
"acceptFirstMouse": false,
64-
"create": false
65-
}
66-
},
67-
"phone": {
68-
"safeArea": {
69-
"top": 0,
70-
"bottom": 0,
71-
"left": 0,
72-
"right": 0
73-
},
74-
"header": {
75-
"show": false,
76-
"title": "",
77-
"backgroundColor": "",
78-
"color": "",
79-
"fontSize": 16,
80-
"fontWeight": "bold",
81-
"loading": false,
82-
"toolBar": false,
83-
"toolBarBackgroundColor": "",
84-
"toolBarColor": "",
85-
"toolBarFontSize": 16,
86-
"toolBarFontWeight": "bold"
87-
},
88-
"siderMenu": {
89-
"show": false,
90-
"width": 0,
91-
"backgroundColor": "",
92-
"color": "",
93-
"fontSize": 16,
94-
"fontWeight": "bold",
95-
"title": "",
96-
"titleColor": "",
97-
"titleFontSize": 16,
98-
"titleFontWeight": "bold"
99-
},
100-
"tabBar": {
101-
"show": false,
102-
"backgroundColor": "",
103-
"color": "",
104-
"activeColor": "",
105-
"fontSize": 16,
106-
"fontWeight": "bold",
107-
"tabBarItem": []
108-
},
109-
"webview": {
110-
"userAgent": "",
111-
"javaScriptEnabled": true,
112-
"domStorageEnabled": true,
113-
"allowFileAccess": true,
114-
"loadWithOverviewMode": true,
115-
"setSupportZoom": true,
116-
"clearCache": true
117-
}
118-
},
119-
"ios": {
120-
"name": "PakePlus",
121-
"showName": "PakePlus",
122-
"version": "0.0.1",
123-
"webUrl": "https://juejin.cn/",
124-
"id": "com.oaikes.app",
125-
"icon": "./app-icon.png",
126-
"desc": "PakePlus Project by 1024xiaoshen",
127-
"pubBody": "PakePlus ios build body",
128-
"isHtml": false,
129-
"debug": false
130-
},
131-
"android": {
132-
"name": "PakePlus",
133-
"showName": "PakePlus",
134-
"version": "0.0.1",
135-
"webUrl": "https://juejin.cn/",
136-
"id": "com.oaikes.pakeplus.android",
137-
"icon": "./app-icon.png",
138-
"input": "./app-icon.png",
139-
"output": "./res",
140-
"rounded": true,
141-
"copyTo": "./app/src/main/res",
142-
"androidResDir": "./app/src/main/res",
143-
"desc": "PakePlus Project by 1024xiaoshen",
144-
"pubBody": "PakePlus android build body",
145-
"isHtml": false,
146-
"debug": false
147-
},
148-
"desktop": {
149-
"name": "PakePlus2",
150-
"showName": "oaikes",
151-
"version": "0.0.2",
152-
"id": "com.oaikes.app",
153-
"desc": "PakePlus Project by 1024xiaoshen",
154-
"webUrl": "https://juejin.cn/",
155-
"iconPath": "../app-icon.png",
156-
"inputPath": "../app-icon.png",
157-
"tempPath": "./processed-image.png",
158-
"icnsPath": "../src-tauri/icons/icon.icns",
159-
"pubBody": "PakePlus desktop build body",
160-
"isHtml": false,
161-
"single": true,
162-
"state": true,
163-
"injectJq": false,
164-
"tauriApi": false,
165-
"debug": false
166-
}
167-
}
1+
{"name":"apj","url":"https://apj.xn--6qq986b3xl/","showName":"爱破解","appid":"com.apj.ipa","icon":"","iconRound":true,"state":true,"single":true,"injectJq":true,"tauriApi":false,"devbug":false,"version":"0.1.0","preview":"iPhone","platform":["1-1","1-2","2-1","2-2"],"width":430,"height":932,"desc":"","jsFile":[],"filterCss":"","customJs":"console.log(\n '%cbuild from PakePlus: https://github.com/Sjj1024/PakePlus',\n 'color:orangered;font-weight:bolder'\n)\n\n// very important, if you don't know what it is, don't touch it\n// 非常重要,不懂代码不要动,这里可以解决80%的问题,也可以生产1000+的bug\nconst hookClick = (e) => {\n const origin = e.target.closest('a')\n const isBaseTargetBlank = document.querySelector(\n 'head base[target=\"_blank\"]'\n )\n console.log('origin', origin, isBaseTargetBlank)\n if (\n (origin && origin.href && origin.target === '_blank') ||\n (origin && origin.href && isBaseTargetBlank)\n ) {\n e.preventDefault()\n console.log('handle origin', origin)\n location.href = origin.href\n } else {\n console.log('not handle origin', origin)\n }\n}\n\nwindow.open = function (url, target, features) {\n console.log('open', url, target, features)\n location.href = url\n}\n\ndocument.addEventListener('click', hookClick, { capture: true })","isHtml":false,"htmlPath":"","htmlFiles":[],"more":{"windows":{"label":"apj","title":"爱破解","url":"https://apj.xn--6qq986b3xl/","userAgent":"Mozilla/5.0 (iPhone; CPU iPhone OS 17_0_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.0 Mobile/15E148 Safari/604.1","width":430,"height":932,"theme":null,"resizable":true,"fullscreen":false,"maximized":false,"minWidth":400,"minHeight":300,"maxWidth":1920,"maxHeight":1080,"decorations":true,"transparent":false,"titleBarStyle":"Visible","visible":true,"focus":true,"closable":true,"minimizable":true,"maximizable":true,"alwaysOnTop":false,"alwaysOnBottom":false,"center":false,"skipTaskbar":false,"tabbingIdentifier":null,"parent":null,"dragDropEnabled":true,"browserExtensionsEnabled":false,"devtools":true,"contentProtected":false,"hiddenTitle":false,"incognito":false,"proxyUrl":null,"useHttpsScheme":false,"zoomHotkeysEnabled":false,"acceptFirstMouse":false,"create":false}},"phone":{"safeArea":{"top":0,"bottom":0,"left":0,"right":0},"header":{"show":false,"title":"","backgroundColor":"","color":"","fontSize":16,"fontWeight":"bold","loading":false,"toolBar":false,"toolBarBackgroundColor":"","toolBarColor":"","toolBarFontSize":16,"toolBarFontWeight":"bold"},"siderMenu":{"show":false,"width":0,"backgroundColor":"","color":"","fontSize":16,"fontWeight":"bold","title":"","titleColor":"","titleFontSize":16,"titleFontWeight":"bold"},"tabBar":{"show":false,"backgroundColor":"","color":"","activeColor":"","fontSize":16,"fontWeight":"bold","tabBarItem":[]},"webview":{"userAgent":"","javaScriptEnabled":true,"domStorageEnabled":true,"allowFileAccess":true,"loadWithOverviewMode":true,"setSupportZoom":true,"clearCache":true}},"ios":{"name":"apj","showName":"爱破解","version":"0.1.0","webUrl":"https://apj.xn--6qq986b3xl/","id":"com.apj.ipa.ios","icon":"./app-icon.png","desc":"Package for personal use only, please do not use for commercial purposes(打包仅限个人使用,请勿传播或商业用途)","pubBody":"Package for personal use only, please do not use for commercial purposes(打包仅限个人使用,请勿传播或商业用途)","isHtml":false,"debug":false},"android":{"name":"apj","showName":"爱破解","version":"0.1.0","webUrl":"https://apj.xn--6qq986b3xl/","id":"com.apj.ipa.android","icon":"./app-icon.png","input":"./app-icon.png","output":"./res","rounded":true,"copyTo":"./app/src/main/res","androidResDir":"./app/src/main/res","desc":"Package for personal use only, please do not use for commercial purposes(打包仅限个人使用,请勿传播或商业用途)","pubBody":"Package for personal use only, please do not use for commercial purposes(打包仅限个人使用,请勿传播或商业用途)","isHtml":false,"debug":false},"desktop":{"name":"apj","showName":"爱破解","version":"0.1.0","id":"com.apj.ipa.desktop","desc":"Package for personal use only, please do not use for commercial purposes(打包仅限个人使用,请勿传播或商业用途,否则后果自负)","webUrl":"https://apj.xn--6qq986b3xl/","iconPath":"../app-icon.png","inputPath":"../app-icon.png","tempPath":"./processed-image.png","icnsPath":"../src-tauri/icons/icon.icns","pubBody":"Package for personal use only, please do not use for commercial purposes(打包仅限个人使用,请勿传播或商业用途,否则后果自负)","isHtml":false,"single":false,"state":true,"injectJq":false,"tauriApi":false,"buildMethod":"cloud","debug":false}}

0 commit comments

Comments
 (0)