-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathGod_Plan.js
203 lines (162 loc) · 8.5 KB
/
God_Plan.js
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
const BASE_URL = "https://git.tyrantg.com/tyrantgenesis/hikerViewRules/raw/master/"
/* Base Function */
/**
* @param fetch_file String 远程文件web地址
* @param local_file String 本地文件路径
* */
const godWriteFile = (fetch_file, local_file) => {
let localFile = request(local_file);
let fetchFile = request(fetch_file);
if (!localFile || localFile !== fetchFile) writeFile(local_file, fetchFile)
}
const godSaveFile = (fetch_file, local_file) => {
let localFile = request(local_file);
let fetchFile = request(fetch_file);
if (!localFile) writeFile(local_file, fetchFile)
}
const time = (new Date()).getTime()
/* Base Function */
/* Customize Function */
const home_page = _ => {
godWriteFile(BASE_URL+"tyrantgenesis.js?t="+time, 'hiker://files/TyrantG/tyrantgenesis.js')
godWriteFile(BASE_URL+"public/Home.html?t="+time, 'hiker://files/TyrantG/public/Home.html')
godSaveFile(BASE_URL+"public/fonts/AlexBrush-Regular.ttf", 'hiker://files/TyrantG/public/fonts/AlexBrush-Regular.ttf')
godSaveFile(BASE_URL+"public/js/vue.min.js", 'hiker://files/TyrantG/public/js/vue.min.js')
godSaveFile(BASE_URL+"public/js/element-ui.js", 'hiker://files/TyrantG/public/js/element-ui.js')
}
const new_homepage = _ => {
godWriteFile(BASE_URL+"HOME/index.html?t="+time, 'hiker://files/TyrantG/HOME/index.html')
godWriteFile(BASE_URL+"TEST/new-homepage.js?t="+time, 'hiker://files/TyrantG/TEST/new-homepage.js')
}
const tyrantgenesis = _ => {
godWriteFile(BASE_URL+"data/base.json?t="+time, 'hiker://files/TyrantG/data/base.json')
godWriteFile(BASE_URL+"tyrantgenesis.js?t="+time, 'hiker://files/TyrantG/tyrantgenesis.js')
godSaveFile(BASE_URL+"public/css/element-ui.css", 'hiker://files/TyrantG/public/css/element-ui.css')
godSaveFile(BASE_URL+"public/js/vue.min.js", 'hiker://files/TyrantG/public/js/vue.min.js')
godSaveFile(BASE_URL+"public/js/element-ui.js", 'hiker://files/TyrantG/public/js/element-ui.js')
}
const acfun = _ => {
godWriteFile(BASE_URL+"TEST/acfun-bangumilist.js?t="+time, 'hiker://files/TyrantG/TEST/acfun-bangumilist.js')
godWriteFile(BASE_URL+"public/category.html?t="+time, 'hiker://files/TyrantG/public/category.html')
godSaveFile(BASE_URL+"public/js/vue.min.js", 'hiker://files/TyrantG/public/js/vue.min.js')
godSaveFile(BASE_URL+"public/js/element-ui.js", 'hiker://files/TyrantG/public/js/element-ui.js')
}
const TMusic = _ => {
godWriteFile(BASE_URL+"data/music_list.json?t="+time, 'hiker://files/TyrantG/data/music_list.json')
godWriteFile(BASE_URL+"TOOL/cloud-music.js?t="+time, 'hiker://files/TyrantG/TOOL/cloud-music.js')
}
const douyu_live = _ => {
godWriteFile(BASE_URL+"LIVE/douyu.js?t="+time, 'hiker://files/TyrantG/LIVE/douyu.js')
godWriteFile(BASE_URL+"public/douyu-tabs.html?t="+time, 'hiker://files/TyrantG/public/douyu-tabs.html')
godWriteFile(BASE_URL+"public/douyu-player.html?t="+time, 'hiker://files/TyrantG/public/douyu-player.html')
godSaveFile(BASE_URL+"public/css/element-ui.css", 'hiker://files/TyrantG/public/css/element-ui.css')
godSaveFile(BASE_URL+"public/css/aliplayer-min.css", 'hiker://files/TyrantG/public/css/aliplayer-min.css')
godSaveFile(BASE_URL+"public/js/vue.min.js", 'hiker://files/TyrantG/public/js/vue.min.js')
godSaveFile(BASE_URL+"public/js/aliplayer-min.js", 'hiker://files/TyrantG/public/js/aliplayer-min.js')
godSaveFile(BASE_URL+"public/js/element-ui.js", 'hiker://files/TyrantG/public/js/element-ui.js')
}
const douyu_danmu = _ => {
godWriteFile(BASE_URL+"LIVE/douyu_danmu.js?t="+time, 'hiker://files/TyrantG/LIVE/douyu_danmu.js')
godWriteFile(BASE_URL+"public/douyu-danmu-tabs.html?t="+time, 'hiker://files/TyrantG/public/douyu-tabs.html')
godSaveFile(BASE_URL+"public/css/douyu_danmu.css", 'hiker://files/TyrantG/public/css/douyu_danmu.css')
godSaveFile(BASE_URL+"public/js/douyu_danmu.js", 'hiker://files/TyrantG/public/js/douyu_danmu.js')
godSaveFile(BASE_URL+"public/douyu_danmu.html", 'hiker://files/TyrantG/public/douyu_danmu.html')
}
const twitch = _ => {
godWriteFile(BASE_URL+"LIVE/twitch.js?t="+time, 'hiker://files/TyrantG/LIVE/twitch.js')
}
const _17live = _ => {
godWriteFile(BASE_URL+"LIVE/17live.js?t="+time, 'hiker://files/TyrantG/LIVE/17live.js')
}
const huya_live = _ => {
godWriteFile(BASE_URL+"LIVE/huya.js", 'hiker://files/TyrantG/LIVE/huya.js')
godWriteFile(BASE_URL+"public/huya-tabs.html", 'hiker://files/TyrantG/public/huya-tabs.html')
godWriteFile(BASE_URL+"public/huya-category.html", 'hiker://files/TyrantG/public/huya-category.html')
// godWriteFile(BASE_URL+"public/huya-player.html?t="+time, 'hiker://files/TyrantG/public/huya-player.html')
// godSaveFile(BASE_URL+"public/utils/huya_lib.js", 'hiker://files/TyrantG/public/utils/huya_lib.js')
godSaveFile(BASE_URL+"public/css/element-ui.css", 'hiker://files/TyrantG/public/css/element-ui.css')
// godSaveFile(BASE_URL+"public/css/aliplayer-min.css", 'hiker://files/TyrantG/public/css/aliplayer-min.css')
godSaveFile(BASE_URL+"public/js/vue.min.js", 'hiker://files/TyrantG/public/js/vue.min.js')
// godSaveFile(BASE_URL+"public/js/aliplayer-min.js", 'hiker://files/TyrantG/public/js/aliplayer-min.js')
godSaveFile(BASE_URL+"public/js/element-ui.js", 'hiker://files/TyrantG/public/js/element-ui.js')
}
const qie_egame_live = _ => {
godWriteFile(BASE_URL+"LIVE/qie_egame.js?t="+time, 'hiker://files/TyrantG/LIVE/qie_egame.js')
godWriteFile(BASE_URL+"public/qieEgame-tabs.html?t="+time, 'hiker://files/TyrantG/public/qieEgame-tabs.html')
godSaveFile(BASE_URL+"public/css/element-ui.css", 'hiker://files/TyrantG/public/css/element-ui.css')
godSaveFile(BASE_URL+"public/js/vue.min.js", 'hiker://files/TyrantG/public/js/vue.min.js')
godSaveFile(BASE_URL+"public/js/element-ui.js", 'hiker://files/TyrantG/public/js/element-ui.js')
}
const qie_sport_live = _ => {
godWriteFile(BASE_URL+"LIVE/qie_sport.js?t="+time, 'hiker://files/TyrantG/LIVE/qie_sport.js')
}
const _95_xiu_live = _ => {
godWriteFile(BASE_URL+"LIVE/95_xiu.js?t="+time, 'hiker://files/TyrantG/LIVE/95_xiu.js')
}
const yande_re = _ => {
godWriteFile(BASE_URL+"GHS/yande.re.js?t="+time, 'hiker://files/TyrantG/GHS/yande.re.js')
}
const pornhub = _ => {
godWriteFile(BASE_URL+"GHS/pornhub.js?t="+time, 'hiker://files/TyrantG/GHS/pornhub.js')
}
const jable = _ => {
godWriteFile(BASE_URL+"GHS/jable.js?t="+time, 'hiker://files/TyrantG/GHS/jable.js')
}
const spankbang = _ => {
godWriteFile(BASE_URL+"GHS/spankbang.js?t="+time, 'hiker://files/TyrantG/GHS/spankbang.js')
}
const eroticmovies_xyz = _ => {
godWriteFile(BASE_URL+"GHS/eroticmovies.xyz.js?t="+time, 'hiker://files/TyrantG/GHS/eroticmovies.xyz.js')
}
const eporner = _ => {
godWriteFile(BASE_URL+"GHS/eporner.js?t="+time, 'hiker://files/TyrantG/GHS/eporner.js')
}
const _7719 = _ => {
godWriteFile(BASE_URL+"GHS/7719.js?t="+time, 'hiker://files/TyrantG/GHS/7719.js')
}
const shuiguopai = _ => {
godWriteFile(BASE_URL+"GHS/shuiguopai.js?t="+time, 'hiker://files/TyrantG/GHS/shuiguopai.js')
}
const ohentai = _ => {
godWriteFile(BASE_URL+"GHS/ohentai.js?t="+time, 'hiker://files/TyrantG/GHS/ohentai.js')
}
const aktool = _ => {
godWriteFile(BASE_URL+"TOOL/aktools.js?t="+time, 'hiker://files/TyrantG/TOOL/aktool.js')
}
const prts = _ => {
godWriteFile(BASE_URL+"TOOL/prts.js?t="+time, 'hiker://files/TyrantG/TOOL/prts.js')
}
const ys_map = _ => {
godWriteFile(BASE_URL+"TOOL/ys_map.js?t="+time, 'hiker://files/TyrantG/TOOL/ys_map.js')
}
const zczc = _ => {
godWriteFile(BASE_URL+"TOOL/zczc.js?t="+time, 'hiker://files/TyrantG/TOOL/zczc.js')
}
const naraka_score = _ => {
godWriteFile(BASE_URL+"TOOL/naraka_score.js?t="+time, 'hiker://files/TyrantG/TOOL/naraka_score.js')
}
const artStation = _ => {
godWriteFile(BASE_URL+"IMAGE/artstation.js?t="+time, 'hiker://files/TyrantG/IMAGE/artstation.js')
}
const zcool = _ => {
godWriteFile(BASE_URL+"IMAGE/zcool.js?t="+time, 'hiker://files/TyrantG/IMAGE/zcool.js')
}
const huashi6 = _ => {
godWriteFile(BASE_URL+"IMAGE/huashi6.js?t="+time, 'hiker://files/TyrantG/IMAGE/huashi6.js')
}
const manhuagui = _ => {
godWriteFile(BASE_URL+"COMIC/manhuagui.js?t="+time, 'hiker://files/TyrantG/COMIC/manhuagui.js')
}
const picacg = _ => {
godWriteFile(BASE_URL+"COMIC/picacg.js?t="+time, 'hiker://files/TyrantG/COMIC/picacg.js')
}
const ednovas = _ => {
godWriteFile(BASE_URL+"VIDEO/ednovas.js?t="+time, 'hiker://files/TyrantG/VIDEO/ednovas.js')
}
const youtube = _ => {
godWriteFile(BASE_URL+"TEST/youtube.js?t="+time, 'hiker://files/TyrantG/TEST/youtube.js')
}
const douyin_web = _ => {
godWriteFile(BASE_URL+"VIDEO/douyin_web.js?t="+time, 'hiker://files/TyrantG/VIDEO/douyin_web.js')
}
/* Customize Function */