forked from wrapper-offline/wrapper-offline
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstart_wrapper.bat
543 lines (497 loc) · 22 KB
/
start_wrapper.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
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
:: Wrapper: Offline Launcher
:: Author: benson#0411
:: Project Runner: GoTest334#9880
:: License: MIT
set WRAPPER_VER=1.2.3
set WRAPPER_BLD=72
title Wrapper: Offline v%WRAPPER_VER% ^(build %WRAPPER_BLD%^) [Initializing...]
::::::::::::::::::::
:: Initialization ::
::::::::::::::::::::
:: Stop commands from spamming stuff, cleans up the screen
@echo off && cls
:: check for updates
pushd "%~dp0"
if !AUTOUPDATE!==y (
pushd "%~dp0"
if exist .git (
echo Updating...
call utilities\PortableGit\bin\git.exe checkout main
call utilities\PortableGit\bin\git.exe fetch --all
call utilities\PortableGit\bin\git.exe reset --hard origin/main
PING -n 3 127.0.0.1>nul
cls
) else (
echo Git not found. Skipping update.
PING -n 3 127.0.0.1>nul
cls
)
) else (
echo Auto-updating is off. Skipping update.
PING -n 3 127.0.0.1>nul
cls
)
:: Lets variables work or something idk im not a nerd
SETLOCAL ENABLEDELAYEDEXPANSION
:: Make sure we're starting in the correct folder, and that it worked (otherwise things would go horribly wrong)
pushd "%~dp0"
if !errorlevel! NEQ 0 goto error_location
if not exist utilities ( goto error_location )
if not exist wrapper ( goto error_location )
if not exist server ( goto error_location )
goto noerror_location
:error_location
echo Doesn't seem like this script is in a Wrapper: Offline folder.
pause && exit
:noerror_location
:: patch detection
if exist "patch.jpg" goto patched
:: Prevents CTRL+C cancelling (please close with 0) and keeps window open when crashing
if "%~1" equ "point_insertion" goto point_insertion
start "" /wait /B "%~F0" point_insertion
exit
:point_insertion
:: Check *again* because it seems like sometimes it doesn't go into dp0 the first time???
pushd "%~dp0"
if !errorlevel! NEQ 0 goto error_location
if not exist utilities ( goto error_location )
if not exist wrapper ( goto error_location )
if not exist server ( goto error_location )
:: Create checks folder if nonexistent
if not exist "utilities\checks" md utilities\checks
:: Welcome, Director Ford!
echo Wrapper: Offline
echo A project from VisualPlugin adapted by GoTest334 and the Wrapper: Offline team
echo Version !WRAPPER_VER!, build !WRAPPER_BLD!
echo:
:: Confirm measurements to proceed.
set SUBSCRIPT=y
echo Loading settings...
if not exist utilities\config.bat ( goto configmissing )
call utilities\config.bat
echo:
if !VERBOSEWRAPPER!==y ( echo Verbose mode activated. && echo:)
goto configavailable
:: Restore config
:configmissing
echo Settings are missing for some reason?
echo Restoring...
goto configcopy
:returnfromconfigcopy
if not exist utilities\config.bat ( echo Something is horribly wrong. You may be in a read-only system/admin folder. & pause & exit )
call utilities\config.bat
:configavailable
::::::::::::::::::::::
:: Starting Wrapper ::
::::::::::::::::::::::
title Wrapper: Offline v!WRAPPER_VER! ^(build !WRAPPER_BLD!^) [Loading...]
:: Close existing node apps
:: Hopefully fixes EADDRINUSE errors??
if !VERBOSEWRAPPER!==y (
if !CEPSTRAL!==n (
echo Closing any existing node and/or PHP apps...
if !DRYRUN!==n ( TASKKILL /IM node.exe /F )
if !DRYRUN!==n ( TASKKILL /IM php.exe /F )
echo:
) else (
echo Closing any existing node apps...
if !DRYRUN!==n ( TASKKILL /IM node.exe /F )
)
) else (
if !CEPSTRAL!==n (
if !DRYRUN!==n ( TASKKILL /IM node.exe /F 2>nul )
if !DRYRUN!==n ( TASKKILL /IM php.exe /F 2>nul )
) else (
if !DRYRUN!==n ( TASKKILL /IM node.exe /F 2>nul )
)
)
:: Start Node.js, http-server and PHP for VFProxy
if !CEPSTRAL!==n (
echo Loading Node.js, http-server and PHP ^(for VFProxy only^)...
) else (
echo Loading Node.js and http-server...
)
pushd utilities
if !VERBOSEWRAPPER!==y (
if !DRYRUN!==n ( start /MIN open_http-server.bat )
if !DRYRUN!==n ( start /MIN open_nodejs.bat )
if !DRYRUN!==n (
if !CEPSTRAL!==n (
start /MIN open_vfproxy_php.bat
)
)
) else (
if !DRYRUN!==n ( start SilentCMD open_http-server.bat )
if !DRYRUN!==n ( start SilentCMD open_nodejs.bat )
if !DRYRUN!==n (
if !CEPSTRAL!==n (
start SilentCMD open_vfproxy_php.bat
)
)
)
popd
:: Pause to allow startup
:: Prevents the video list opening too fast
PING -n 6 127.0.0.1>nul
:: Open Wrapper in preferred browser
if !INCLUDEDCHROMIUM!==n (
if !CUSTOMBROWSER!==n (
echo Opening Wrapper: Offline in your default browser...
if !DRYRUN!==n ( start http://localhost:4343 )
) else (
echo Opening Wrapper: Offline in your set browser...
echo If this does not work, you may have set the path wrong.
if !DRYRUN!==n ( start !CUSTOMBROWSER! http://localhost:4343 )
)
) else (
echo Opening Wrapper: Offline using included Chromium...
pushd utilities\ungoogled-chromium
if !APPCHROMIUM!==y (
if !DRYRUN!==n ( start chrome.exe --allow-outdated-plugins --user-data-dir=the_profile --app=http://localhost:4343 )
) else (
if !DRYRUN!==n ( start chrome.exe --allow-outdated-plugins --user-data-dir=the_profile http://localhost:4343 )
)
popd
)
echo Wrapper: Offline has been started^^! The video list should now be open.
::::::::::::::::
:: Post-Start ::
::::::::::::::::
title Wrapper: Offline v!WRAPPER_VER! ^(build !WRAPPER_BLD!^)
if !VERBOSEWRAPPER!==y ( goto wrapperstarted )
:wrapperstartedcls
cls
:wrapperstarted
echo:
echo Wrapper: Offline v!WRAPPER_VER! ^(build !WRAPPER_BLD!^) running
echo A project from VisualPlugin adapted by GoTest334 and the Wrapper: Offline team
echo:
if !VERBOSEWRAPPER!==n ( echo DON'T CLOSE THIS WINDOW^^! Use the quit option ^(0^) when you're done. )
if !VERBOSEWRAPPER!==y ( echo Verbose mode is on, see the two extra CMD windows for extra output. )
if !DRYRUN!==y ( echo Don't forget, nothing actually happened, this was a dry run. )
if !JUSTIMPORTED!==y ( echo Note: You'll need to reload the editor for your file to appear. )
:: Hello, code wanderer. Enjoy seeing all the secret options easily instead of finding them yourself.
echo:
echo Enter 1 to reopen the video list
echo Enter 2 to import a file
echo Enter 3 to open Wrapper: Offline settings
echo Enter ? to open the FAQ
echo Enter clr to clean up the screen
echo Enter 0 to close Wrapper: Offline
set /a _rand=(!RANDOM!*67/32768)+1
if !_rand!==25 echo Enter things you think'll show a secret if you're feeling adventurous
:wrapperidle
echo:
set /p CHOICE=Choice:
if "!choice!"=="0" goto exitwrapperconfirm
set FUCKOFF=n
if "!choice!"=="1" goto reopen_webpage
if "!choice!"=="2" goto start_importer
if "!choice!"=="3" goto open_settings
if "!choice!"=="?" goto open_faq
if /i "!choice!"=="clr" goto wrapperstartedcls
if /i "!choice!"=="cls" goto wrapperstartedcls
if /i "!choice!"=="clear" goto wrapperstartedcls
:: funni options
if "!choice!"=="43" echo OH MY GOD. FOURTY THREE CHARS. NOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO & goto wrapperidle
if /i "!choice!"=="benson" echo watch benson on youtube & goto wrapperidle
if /i "!choice!"=="ford" echo what up son & goto wrapperidle
if /i "!choice!"=="no" echo stahp & goto wrapperidle
if /i "!choice!"=="yes" echo Alright. & goto wrapperidle
if /i "!choice!"=="fuck off" goto youfuckoff
if /i "!choice!"=="fuck you" echo No, fuck you. & goto wrapperidle
if /i "!choice!"=="sex" echo that's fake & goto wrapperidle
if /i "!choice!"=="watch benson on youtube" goto w_a_t_c_h
if /i "!choice!"=="browser slayer" goto slayerstestaments
if /i "!choice!"=="patch" goto patchtime
if /i "!choice!"=="random" goto sayarandom
if /i "!choice!"=="narutofan420" echo i am narutofan420 i am a naruto fan i watch naruto i watched all 3 series and still watch it & goto wrapperidle
if /i "!choice!"=="die" echo die please & goto wrapperidle
if /i "!choice!"=="aaron doan" echo YOU^^!^^!^^! Noo Wrapper Is Patched Forever^^!^^!^^! Cries And Hits You So Many Times & goto wrapperidle
if /i "!choice!"=="spark" echo WHY DID SOMEONE FUCK UP THE LAUNCHER? & goto wrapperidle
:: dev options
if /i "!choice!"=="amnesia" goto wipe_save
if /i "!choice!"=="restart" goto restart
if /i "!choice!"=="folder" goto open_files
echo Time to choose. && goto wrapperidle
:reopen_webpage
if !INCLUDEDCHROMIUM!==n (
if !CUSTOMBROWSER!==n (
echo Opening Wrapper: Offline in your default browser...
start http://localhost:4343
) else (
echo Opening Wrapper: Offline in your set browser...
start !CUSTOMBROWSER! http://localhost:4343 >nul
)
) else (
echo Opening Wrapper: Offline using included Chromium...
pushd utilities\ungoogled-chromium
if !APPCHROMIUM!==y (
start chrome.exe --allow-outdated-plugins --user-data-dir=the_profile --app=http://localhost:4343 >nul
) else (
start chrome.exe --allow-outdated-plugins --user-data-dir=the_profile http://localhost:4343 >nul
)
popd
)
goto wrapperidle
:open_server
if !INCLUDEDCHROMIUM!==n (
if !CUSTOMBROWSER!==n (
echo Opening the server page in your default browser...
start https://localhost:4664
) else (
echo Opening the server page in your set browser...
start !CUSTOMBROWSER! https://localhost:4664 >nul
)
) else (
echo Opening the server page using included Chromium...
pushd utilities\ungoogled-chromium
if !APPCHROMIUM!==y (
start chrome.exe --allow-outdated-plugins --user-data-dir=the_profile --app=https://localhost:4664 >nul
) else (
start chrome.exe --allow-outdated-plugins --user-data-dir=the_profile https://localhost:4664 >nul
)
popd
)
goto wrapperidle
:open_settings
call settings.bat
cls
title Wrapper: Offline v!WRAPPER_VER! ^(build !WRAPPER_BLD!^)
set JUSTIMPORTED=y
goto wrapperstartedcls
:open_files
pushd ..
echo Opening the wrapper-offline folder...
start explorer.exe wrapper-offline
popd
goto wrapperidle
:start_importer
echo Opening the importer...
call utilities\import.bat
cls
title Wrapper: Offline v!WRAPPER_VER! ^(build !WRAPPER_BLD!^)
set JUSTIMPORTED=y
goto wrapperstartedcls
:youfuckoff
echo You fuck off.
set FUCKOFF=y
goto wrapperidle
:open_faq
echo Opening the FAQ...
start notepad.exe FAQ.md
goto wrapperidle
:wipe_save
call utilities\reset_install.bat
if !errorlevel! equ 1 goto wrapperidle
:: flows straight to restart below
:restart
TASKKILL /IM node.exe /F
start "" /wait /B "%~F0" point_insertion
exit
:w_a_t_c_h
echo watch benson on youtube
echo watch benson on youtube
echo watch benson on youtube
echo watch benson on youtube
echo watch benson on youtube
echo wa
goto wrapperidle
:patchtime
echo:
echo would you like to patch whoper online
echo press y or n
:patchtimeretry
set /p PATCHCHOICE= Response:
echo:
if not '!patchchoice!'=='' set patchchoice=%patchchoice:~0,1%
if /i "!patchchoice!"=="y" echo too bad B^) & goto wrapperidle
if /i "!patchchoice!"=="n" echo good & goto wrapperidle
echo yes or no question here && goto patchtimeretry
:sayarandom
:: welcome to "inside jokes with no context" land
set /a _rand=!RANDOM!*15/32767
if !_rand!==0 echo stress level ^>0
if !_rand!==1 echo Something random.
if !_rand!==2 echo oisjdoiajfgmafvdsdg
if !_rand!==3 echo my head is unscrewed & echo what do i need it for
if !_rand!==4 echo when you're eating popcorn you're eating busted nuts
if !_rand!==5 echo chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
if !_rand!==6 echo when u nut so hard that ur roblox crashes
if !_rand!==7 echo seven seven seven seven seven seven seven seven seven seven seven seven seven seven seven seven
if !_rand!==8 echo DONT ASK HOW I GOT IT OR YOU WILL BE BANNED FROM MY CHANNEL WITH NO SECOND CHANCES
if !_rand!==9 echo everything you know is wrong & echo black is white up is down and short is long
if !_rand!==10 echo It's a chekcpoint.
if !_rand!==11 echo Another monday... & echo Another mind-numbing, run-of-the-mill monday... & echo ANOTHER MUNDANE, MORIBUND, HUMDRUM MONDAY!
if !_rand!==12 echo try typing "with style" when exiting
if !_rand!==13 echo elmo
if !_rand!==14 echo gnorm gnat says: trans rights are human rights
if !_rand!==15 echo wrapper inline
goto wrapperidle
:slayerstestaments
echo:
echo In the first age,
PING -n 3 127.0.0.1>nul
echo In the first battle,
PING -n 3 127.0.0.1>nul
echo When the shadows first lengthened,
PING -n 4 127.0.0.1>nul
echo One stood.
PING -n 3 127.0.0.1>nul
echo Slowed by the waste of unoptimized websites,
PING -n 4 127.0.0.1>nul
echo His soul harvested by the trackers of Google
PING -n 5 127.0.0.1>nul
echo And exposed beyond anonymity,
PING -n 4 127.0.0.1>nul
echo He chose the path of perpetual torment.
PING -n 6 127.0.0.1>nul
echo In his ravenous hatred,
PING -n 3 127.0.0.1>nul
echo He found no peace,
PING -n 3 127.0.0.1>nul
echo And with boiling blood,
PING -n 3 127.0.0.1>nul
echo He scoured the search results,
PING -n 4 127.0.0.1>nul
echo Seeking vengeance against the companies who had wronged him.
PING -n 6 127.0.0.1>nul
echo He wore the crown of the Taskkillers,
PING -n 4 127.0.0.1>nul
echo and those that tasted the bite of his sword
PING -n 5 127.0.0.1>nul
echo named him...
PING -n 3 127.0.0.1>nul
echo the Browser Slayer.
PING -n 3 127.0.0.1>nul
:: here comes something that looks awesome normaly but is disgusting when escaped for batch
:: credit to http://www.gamers.org/~fpv/doomlogo.html
echo ^=^=^=^=^=^=^=^=^=^=^=^=^=^=^=^=^= ^=^=^=^=^=^=^=^=^=^=^=^=^=^=^= ^=^=^=^=^=^=^=^=^=^=^=^=^=^=^= ^=^=^=^=^=^=^=^= ^=^=^=^=^=^=^=^=
echo ^\^\ ^. ^. ^. ^. ^. ^. ^.^\^\ //^. ^. ^. ^. ^. ^. ^.^\^\ //^. ^. ^. ^. ^. ^. ^.^\^\ ^\^\^. ^. ^.^\^\// ^. ^. //
echo ^|^|^. ^. ^._____^. ^. ^.^|^| ^|^|^. ^. ^._____^. ^. ^.^|^| ^|^|^. ^. ^._____^. ^. ^.^|^| ^|^| ^. ^. ^.^\/ ^. ^. ^.^|^|
echo ^|^| ^. ^.^|^| ^|^|^. ^. ^|^| ^|^| ^. ^.^|^| ^|^|^. ^. ^|^| ^|^| ^. ^.^|^| ^|^|^. ^. ^|^| ^|^|^. ^. ^. ^. ^. ^. ^. ^|^|
echo ^|^|^. ^. ^|^| ^|^| ^. ^.^|^| ^|^|^. ^. ^|^| ^|^| ^. ^.^|^| ^|^|^. ^. ^|^| ^|^| ^. ^.^|^| ^|^| ^. ^| ^. ^. ^. ^. ^.^|^|
echo ^|^| ^. ^.^|^| ^|^|^. _-^|^| ^|^|-_ ^.^|^| ^|^|^. ^. ^|^| ^|^| ^. ^.^|^| ^|^|^. _-^|^| ^|^|-_^.^|^\ ^. ^. ^. ^. ^|^|
echo ^|^|^. ^. ^|^| ^|^|-^' ^|^| ^|^| ^`-^|^| ^|^| ^. ^.^|^| ^|^|^. ^. ^|^| ^|^|-^' ^|^| ^|^| ^`^|^\_ ^. ^.^|^. ^.^|^|
echo ^|^| ^. _^|^| ^|^| ^|^| ^|^| ^|^| ^|^|_ ^. ^|^| ^|^| ^. _^|^| ^|^| ^|^| ^|^| ^|^\ ^`-_/^| ^. ^|^|
echo ^|^|_-^' ^|^| ^.^|/ ^|^| ^|^| ^\^|^. ^|^| ^`-_^|^| ^|^|_-^' ^|^| ^.^|/ ^|^| ^|^| ^| ^\ / ^|-_^.^|^|
echo ^|^| ^|^|_-^' ^|^| ^|^| ^`-_^|^| ^|^| ^|^| ^|^|_-^' ^|^| ^|^| ^| ^\ / ^| ^`^|^|
echo ^|^| ^`^' ^|^| ^|^| ^`^' ^|^| ^|^| ^`^' ^|^| ^|^| ^| ^\ / ^| ^|^|
echo ^|^| ^.^=^=^=^' ^`^=^=^=^. ^.^=^=^=^'^.^`^=^=^=^. ^.^=^=^=^' /^=^=^. ^| ^\/ ^| ^|^|
echo ^|^| ^.^=^=^' ^\_^|-_ ^`^=^=^=^. ^.^=^=^=^' _^|_ ^`^=^=^=^. ^.^=^=^=^' _-^|/ ^`^=^= ^\/ ^| ^|^|
echo ^|^| ^.^=^=^' _-^' ^`-_ ^`^=^' _-^' ^`-_ ^`^=^' _-^' ^`-_ /^| ^\/ ^| ^|^|
echo ^|^| ^.^=^=^' _-^' ^`-__^\^._-^' ^`-_^./__-^' ^`^' ^|^. /^| ^| ^|^|
echo ^|^|^.^=^=^' _-^' ^`^' ^| /^=^=^.^|^|
echo ^=^=^' _-^' ^\/ ^`^=^=
echo ^\ _-^' ^`-_ /
echo ^`^'^' ^`^`^'
goto wrapperidle
::::::::::::::
:: Shutdown ::
::::::::::::::
:: Confirmation before shutting down
:exitwrapperconfirm
echo:
echo Are you sure you want to quit Wrapper: Offline?
echo Be sure to save all your work.
echo Type Y to quit, and N to go back.
:exitwrapperretry
set /p EXITCHOICE= Response:
echo:
if /i "!exitchoice!"=="y" goto point_extraction
if /i "!exitchoice!"=="yes" goto point_extraction
if /i "!exitchoice!"=="n" goto wrapperstartedcls
if /i "!exitchoice!"=="no" goto wrapperstartedcls
if /i "!exitchoice!"=="with style" goto exitwithstyle
echo You must answer Yes or No. && goto exitwrapperretry
:point_extraction
title Wrapper: Offline v!WRAPPER_VER! ^(build !WRAPPER_BLD!^) [Shutting down...]
:: Shut down Node.js, PHP and http-server
if !VERBOSEWRAPPER!==y (
if !DRYRUN!==n ( TASKKILL /IM node.exe /F )
if !DRYRUN!==n ( TASKKILL /IM php.exe /F )
echo:
) else (
if !DRYRUN!==n ( TASKKILL /IM node.exe /F 2>nul )
if !DRYRUN!==n ( TASKKILL /IM php.exe /F 2>nul )
)
:: This is where I get off.
echo Wrapper: Offline has been shut down.
if !FUCKOFF!==y ( echo You're a good listener. )
echo This window will now close.
if !INCLUDEDCHROMIUM!==y (
echo You can close the web browser now.
)
echo Open start_wrapper.bat again to start W:O again.
if !DRYRUN!==y ( echo Go wet your run next time. )
pause & exit
:exitwithstyle
title Wrapper: Offline v!WRAPPER_VER! ^(build !WRAPPER_BLD!^) [Shutting down... WITH STYLE]
echo SHUTTING DOWN THE WRAPPER OFFLINE
PING -n 3 127.0.0.1>nul
color 9b
echo BEWEWEWEWWW PSSHHHH KSHHHHHHHHHHHHHH
PING -n 3 127.0.0.1>nul
TASKKILL /IM node.exe /F
echo NODE DOT JS ANNIHILATED
PING -n 3 127.0.0.1>nul
TASKKILL /IM php.exe /F
echo PHP DESTROYED
PING -n 3 127.0.0.1>nul
echo TIME TO ELIMINATE WRAPPER OFFLINE
PING -n 3 127.0.0.1>nul
echo BOBOOBOBMWBOMBOM SOUND EFFECTSSSSS
PING -n 3 127.0.0.1>nul
echo WRAPPER OFFLINE ALSO ANNIHILA
PING -n 2 127.0.0.1>nul
exit
:patched
title candypaper nointernet PATCHED edition
color 43
echo OH MY GODDDDD
PING -n 3 127.0.0.1>nul
echo SWEETSSHEET LACKOFINTERNS PATCHED DETECTED^^!^^!^^!^^!^^!^^!^^!^^!^^!^^!^^!^^!
PING -n 3 127.0.0.1>nul
echo can never be use again...
PING -n 4 127.0.0.1>nul
echo whoever put patch.jpeg back, you are grounded grounded gorrudjnmed for 6000
PING -n 3 127.0.0.1>nul
:grr
echo g r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r
goto grr
:configcopy
if not exist utilities ( md utilities )
echo :: Wrapper: Offline Config>> utilities\config.bat
echo :: This file is modified by settings.bat. It is not organized, but comments for each setting have been added.>> utilities\config.bat
echo :: You should be using settings.bat, and not touching this. Offline relies on this file remaining consistent, and it's easy to mess that up.>> utilities\config.bat
echo:>> utilities\config.bat
echo :: Opens this file in Notepad when run>> utilities\config.bat
echo setlocal>> utilities\config.bat
echo if "%%SUBSCRIPT%%"=="" ( pushd "%~dp0" ^& start notepad.exe config.bat ^& exit )>> utilities\config.bat
echo endlocal>> utilities\config.bat
echo:>> utilities\config.bat
echo :: Shows exactly Offline is doing, and never clears the screen. Useful for development and troubleshooting. Default: n>> utilities\config.bat
echo set VERBOSEWRAPPER=n>> utilities\config.bat
echo:>> utilities\config.bat
echo :: Won't check for dependencies (flash, node, etc) and goes straight to launching. Useful for speedy launching post-install. Default: n>> utilities\config.bat
echo set SKIPCHECKDEPENDS=n>> utilities\config.bat
echo:>> utilities\config.bat
echo :: Won't install dependencies, regardless of check results. Overridden by SKIPCHECKDEPENDS. Mostly useless, why did I add this again? Default: n>> utilities\config.bat
echo set SKIPDEPENDINSTALL=n>> utilities\config.bat
echo:>> utilities\config.bat
echo :: Opens Offline in an included copy of ungoogled-chromium. Allows continued use of Flash as modern browsers disable it. Default: y>> utilities\config.bat
echo set INCLUDEDCHROMIUM=y>> utilities\config.bat
echo:>> utilities\config.bat
echo :: Opens INCLUDEDCHROMIUM in headless mode. Looks pretty nice. Overrides CUSTOMBROWSER and BROWSER_TYPE. Default: y>> utilities\config.bat
echo set APPCHROMIUM=y>> utilities\config.bat
echo:>> utilities\config.bat
echo :: Opens Offline in a browser of the user's choice. Needs to be a path to a browser executable in quotes. Default: n>> utilities\config.bat
echo set CUSTOMBROWSER=n>> utilities\config.bat
echo:>> utilities\config.bat
echo :: Lets the launcher know what browser framework is being used. Mostly used by the Flash installer. Accepts "chrome", "firefox", and "n". Default: n>> utilities\config.bat
echo set BROWSER_TYPE=chrome>> utilities\config.bat
echo:>> utilities\config.bat
echo :: Runs through all of the scripts code, while never launching or installing anything. Useful for development. Default: n>> utilities\config.bat
echo set DRYRUN=n>> utilities\config.bat
echo:>> utilities\config.bat
goto returnfromconfigcopy