-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRelease.bat
329 lines (292 loc) · 15.6 KB
/
Release.bat
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
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
@echo off
setlocal enabledelayedexpansion
COLOR 0A
if (%1)==(0) goto skipme
if (%1) neq () goto adbi
echo -------------------------------------------------------------------------- >> Release.log
echo ^|%date% -- %time%^| >> Release.log
echo -------------------------------------------------------------------------- >> Release.log
Release 0 2>> Release.log
:error
:skipme
cd "%~dp0"
mode con:cols=90 lines=50
cls
:skipme2
cls
ECHO ***************************************************************************************
ECHO * APK Batch Release *
ECHO ***************************************************************************************
ECHO * Written By Gerald Wayne Baggett Jr {Raziel23x *
ECHO ***************************************************************************************
ECHO * Website: http://apkmultitool.com *
ECHO ***************************************************************************************
ECHO * Empowering you to Do Your BEST where ever the path may lead you *
ECHO ***************************************************************************************
ECHO * *
ECHO * *
ECHO * *
ECHO * *
ECHO ***************************************************************************************
ECHO * *
ECHO * *
ECHO ***************************************************************************************
PAUSE
:MAINMENU
cd "%~dp0"
set menunr=GARBAGE
cls
ECHO ***************************************************************************************
ECHO * APK Batch Release *
ECHO ***************************************************************************************
ECHO * 0. APK Multi-Tool *
ECHO * This feature allows you to Zip or tar.gz without packing the .git *
ECHO * Allowing you to release your git project without your private info from github *
ECHO ***************************************************************************************
ECHO * 1. APK-Multi-Tool2 *
ECHO * This feature allows you to Zip or tar.gz without packing the .git *
ECHO * Allowing you to release your git project without your private info from github *
ECHO ***************************************************************************************
ECHO * 2. APK-Multi-Tool-Linux *
ECHO * This feature allows you to Zip or tar.gz without packing the .git *
ECHO * Allowing you to release your git project without your private info from github *
ECHO ***************************************************************************************
ECHO * 3. COMING SOON *
ECHO * *
ECHO * *
ECHO ***************************************************************************************
ECHO * 4. COMING SOON *
ECHO * *
ECHO * *
ECHO ***************************************************************************************
ECHO * SETTINGS *
ECHO ***************************************************************************************
ECHO * 5. Read Log *
ECHO * 6. About / Tips / Debug Section *
ECHO * 00. Quit *
ECHO ***************************************************************************************
SET /P menunr=Please make your decision:
IF %menunr%==0 (goto MENU00)
IF %menunr%==1 (goto MENU01)
IF %menunr%==2 (goto MENU02)
IF %menunr%==3 (goto MENU03)
IF %menunr%==4 (goto MENU04)
IF %menunr%==5 (goto logr)
IF %menunr%==6 (goto about)
IF %menunr%==00 (goto quit)
:WHAT
ECHO ***************************************************************************************
ECHO * You went crazy and entered something that wasnt part of the menu options *
ECHO ***************************************************************************************
PAUSE
goto MAINMENU
:logr
cd other
Start "Read The Log - Main script is still running, close this to return" signer 1
goto MAINMENU
:about
cls
ECHO *********************************************************************************
ECHO * *
ECHO * About *
ECHO * *
ECHO *********************************************************************************
ECHO * Description coming soon *
ECHO * *
ECHO * *
ECHO *********************************************************************************
ECHO * *
type other\version.txt
ECHO * *
ECHO *********************************************************************************
ECHO * *
ECHO *********************************************************************************
PAUSE
goto MAINMENU
:MENU00
cd "%~dp0"
set menunr=GARBAGE00
cls
ECHO ***************************************************************************************
ECHO * APK MULTI-TOOL *
ECHO ***************************************************************************************
ECHO * Simple Tasks Such As Image Editing *
ECHO ***************************************************************************************
ECHO * 0 ZIP APK MULTI-TOOL *
ECHO * 1 7z APK MULTI-TOOL *
ECHO * 2 tar APK MULTI-TOOL *
ECHO * 3 gz APK MULTI-TOOL *
ECHO ***************************************************************************************
SET /P menunr=Please make your decision:
IF %menunr%==0 (goto APKZIP)
IF %menunr%==1 (goto APK7Z)
IF %menunr%==2 (goto APKTAR)
IF %menunr%==3 (goto APKGZ)
:WHAT
ECHO ***************************************************************************************
ECHO * You went crazy and entered something that wasnt part of the menu options *
ECHO ***************************************************************************************
PAUSE
goto MENU00
:APKZIP
cd ..\APK-Multi-Tool
"C:\Program Files\7-Zip\7z.exe" a -r -tzip -y -mx9 -mmt ..\releases\APK-Multi-Tool.zip -xr!?git\
cd "%~dp0"
pause
goto MENU00
:APK7Z
cd ..\APK-Multi-Tool
"C:\Program Files\7-Zip\7z.exe" a -r -t7z -y -mx9 -mmt ..\releases\APK-Multi-Tool.7z -xr!?git\
cd "%~dp0"
pause
goto MENU00
:APKTAR
ECHO ***************************************************************************************
ECHO * COMING SOON *
ECHO ***************************************************************************************
pause
goto MENU00
:APKGZ
ECHO ***************************************************************************************
ECHO * COMING SOON *
ECHO ***************************************************************************************
pause
goto MENU00
:MENU01
cd "%~dp0"
set menunr=GARBAGE01
cls
ECHO ***************************************************************************************
ECHO * APK MULTI-TOOL2 *
ECHO ***************************************************************************************
ECHO * Simple Tasks Such As Image Editing *
ECHO ***************************************************************************************
ECHO * 0 ZIP APK MULTI-TOOL2 *
ECHO * 1 7z APK MULTI-TOOL2 *
ECHO * 2 tar APK MULTI-TOOL2 *
ECHO * 3 gz APK MULTI-TOOL2 *
ECHO ***************************************************************************************
SET /P menunr=Please make your decision:
IF %menunr%==0 (goto APK2ZIP)
IF %menunr%==1 (goto APK27Z)
IF %menunr%==2 (goto APK2TAR)
IF %menunr%==3 (goto APK2GZ)
:WHAT
ECHO ***************************************************************************************
ECHO * You went crazy and entered something that wasnt part of the menu options *
ECHO ***************************************************************************************
PAUSE
goto MENU01
:APK2ZIP
cd ..\APK-Multi-Tool2
"C:\Program Files\7-Zip\7z.exe" a -r -tzip -y -mx9 -mmt ..\releases\APK-Multi-Tool2.zip -xr!?git\
cd "%~dp0"
pause
goto MENU01
:APK27Z
cd ..\APK-Multi-Tool2
"C:\Program Files\7-Zip\7z.exe" a -r -t7z -y -mx9 -mmt ..\releases\APK-Multi-Tool2.7z -xr!?git\
cd "%~dp0"
pause
goto MENU01
:APK2TAR
ECHO ***************************************************************************************
ECHO * COMING SOON *
ECHO ***************************************************************************************
pause
goto MENU01
:APK2GZ
ECHO ***************************************************************************************
ECHO * COMING SOON *
ECHO ***************************************************************************************
pause
goto MENU01
:MENU02
cd "%~dp0"
set menunr=GARBAGE02
cls
ECHO ***************************************************************************************
ECHO * APKT MULTI-TOOL Linux *
ECHO ***************************************************************************************
ECHO * Simple Tasks Such As Image Editing *
ECHO ***************************************************************************************
ECHO * 0 ZIP APK MULTI-TOOL Linux *
ECHO * 1 7z APK MULTI-TOOL Linux *
ECHO * 2 tar APK MULTI-TOOL Linux *
ECHO * 3 gz APK MULTI-TOOL Linux *
ECHO ***************************************************************************************
SET /P menunr=Please make your decision:
IF %menunr%==0 (goto APKlZIP)
IF %menunr%==1 (goto APKl7Z)
IF %menunr%==2 (goto APKlTAR)
IF %menunr%==3 (goto APKlGZ)
:WHAT
ECHO ***************************************************************************************
ECHO * You went crazy and entered something that wasnt part of the menu options *
ECHO ***************************************************************************************
PAUSE
:APKlZIP
cd ..\APK-Multi-Tool-Linux
"C:\Program Files\7-Zip\7z.exe" a -r -tzip -y -mx9 -mmt ..\releases\APK-Multi-Tool-Linux.zip -xr!?git\
cd "%~dp0"
pause
goto MENU01
:APKl7Z
cd ..\APK-Multi-Tool-Linux
"C:\Program Files\7-Zip\7z.exe" a -r -t7z -y -mx9 -mmt ..\releases\APK-Multi-Tool-Linux.7z -xr!?git\
cd "%~dp0"
pause
goto MENU01
:APKlTAR
ECHO ***************************************************************************************
ECHO * COMING SOON *
ECHO ***************************************************************************************
pause
goto MENU01
:APKlGZ
ECHO ***************************************************************************************
ECHO * COMING SOON *
ECHO ***************************************************************************************
pause
goto MENU01
goto MENU02
:MENU03
cd "%~dp0"
set menunr=GARBAGE03
cls
ECHO ***************************************************************************************
ECHO * COMING SOON *
ECHO ***************************************************************************************
ECHO * *
ECHO * 0 BACK TO MAIN MENU *
ECHO * *
ECHO ***************************************************************************************
SET /P menunr=Please make your decision:
IF %menunr%==0 (goto MAINMENU)
:WHAT
ECHO ***************************************************************************************
ECHO * You went crazy and entered something that wasnt part of the menu options *
ECHO ***************************************************************************************
PAUSE
goto MENU03
:MENU04
cd "%~dp0"
set menunr=GARBAGE04
cls
ECHO ***************************************************************************************
ECHO * COMING SOON *
ECHO ***************************************************************************************
ECHO * *
ECHO * 0 BACK TO MAIN MENU *
ECHO * *
ECHO ***************************************************************************************
SET /P menunr=Please make your decision:
IF %menunr%==0 (goto MAINMENU)
:WHAT
ECHO ***************************************************************************************
ECHO * You went crazy and entered something that wasnt part of the menu options *
ECHO ***************************************************************************************
PAUSE
goto MENU04
:quit
exit