Skip to content

Commit 3a1a767

Browse files
committed
update ppconfig from pakeplus
1 parent 56f8573 commit 3a1a767

File tree

1 file changed

+1
-147
lines changed

1 file changed

+1
-147
lines changed

scripts/ppconfig.json

Lines changed: 1 addition & 147 deletions
Original file line numberDiff line numberDiff line change
@@ -1,147 +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-
},
110-
"ios": {
111-
"name": "",
112-
"appid": "",
113-
"icon": ""
114-
},
115-
"android": {
116-
"name": "PakePlus",
117-
"showName": "Pake Plus",
118-
"version": "0.0.1",
119-
"webUrl": "https://juejin.cn/",
120-
"icon": "./app-icon.png",
121-
"input": "./app-icon.png",
122-
"output": "./res",
123-
"rounded": true,
124-
"copyTo": "./app/src/main/res",
125-
"androidResDir": "./app/src/main/res",
126-
"pubBody": "PakePlus PubBody"
127-
},
128-
"desktop": {
129-
"name": "PakePlus2",
130-
"showName": "oaikes",
131-
"version": "0.0.2",
132-
"id": "com.oaikes.app",
133-
"tauriApi": true,
134-
"desc": "PakePlus Desc2",
135-
"debug": true,
136-
"webUrl": "https://juejin.cn/",
137-
"iconPath": "../app-icon.png",
138-
"inputPath": "../app-icon.png",
139-
"tempPath": "./processed-image.png",
140-
"icnsPath": "../src-tauri/icons/icon.icns",
141-
"pubBody": "PakePlus PubBody",
142-
"isHtml": false,
143-
"single": true,
144-
"state": true,
145-
"injectJq": true
146-
}
147-
}
1+
{"name":"AmbientSounds","url":"https://moodist.mvze.net/","showName":"AmbientSounds","appid":"com.AmbientSounds.app","icon":"","iconRound":true,"state":true,"single":true,"injectJq":true,"tauriApi":false,"devbug":false,"version":"0.0.1","preview":"desktop","platform":["1-1","1-2","2-1","2-2","3-1","3-2"],"width":800,"height":600,"desc":"","jsFile":[],"filterCss":"","customJs":"console.log(\r\n '%cbuild from PakePlus: https://github.com/Sjj1024/PakePlus',\r\n 'color:orangered;font-weight:bolder'\r\n)\r\n\r\n// very important, if you don't know what it is, don't touch it\r\n// 非常重要,不懂代码不要动,这里可以解决80%的问题,也可以生产1000+的bug\r\nconst hookClick = (e) => {\r\n const origin = e.target.closest('a')\r\n const isBaseTargetBlank = document.querySelector(\r\n 'head base[target=\"_blank\"]'\r\n )\r\n console.log('origin', origin, isBaseTargetBlank)\r\n if (\r\n (origin && origin.href && origin.target === '_blank') ||\r\n (origin && origin.href && isBaseTargetBlank)\r\n ) {\r\n e.preventDefault()\r\n console.log('handle origin', origin)\r\n location.href = origin.href\r\n } else {\r\n console.log('not handle origin', origin)\r\n }\r\n}\r\n\r\ndocument.addEventListener('click', hookClick, { capture: true })\r\n","isHtml":false,"htmlPath":"","htmlFiles":[],"more":{"windows":{"label":"","title":"","url":"https://moodist.mvze.net/","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","width":1000,"height":600,"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":"AmbientSounds","showName":"AmbientSounds","version":"0.0.1","webUrl":"https://moodist.mvze.net/","id":"com.AmbientSounds.app.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":"AmbientSounds","showName":"AmbientSounds","version":"0.0.1","webUrl":"https://moodist.mvze.net/","id":"com.AmbientSounds.app.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":"AmbientSounds","showName":"AmbientSounds","version":"0.0.1","id":"com.AmbientSounds.app.desktop","desc":"Package for personal use only, please do not use for commercial purposes(打包仅限个人使用,请勿用于传播或商业用途,否则后果自负)","webUrl":"https://moodist.mvze.net/","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":true,"state":true,"injectJq":false,"tauriApi":false,"debug":false}}

0 commit comments

Comments
 (0)