Commit graph

395 commits

Author SHA1 Message Date
Oj
9bff6f9bfd [MainWindow] Default unknown hash to custom instead of blank 2021-12-17 23:07:08 +00:00
Oj
207fd33bce [MainWindow] Add OpenAsar version settings inject 2021-12-17 23:00:33 +00:00
Oj
199cf23a7a [Splash] Rewrite config passing 2021-12-17 15:08:06 +00:00
Oj
a4280d4562 [Splash] Add splashText config 2021-12-17 14:42:11 +00:00
Oj
78a4df22f4 [Splash] Move updater init to async with splash load 2021-12-16 22:14:55 +00:00
Oj
3e1a7ab81a [Bootstrap] Add securityUtils to core startup for OpenCore support 2021-12-16 22:13:42 +00:00
Oj
c912709688 [ThemeSync] Initial Add 2021-12-16 16:52:25 +00:00
Oj
b0c0e46065 [AutoStart] Rewrite to use switch for index require, generic stub 2021-12-16 12:58:14 +00:00
Oj
5ad7eabea5 [FirstRun] Rewrite to use switch for index require, generic stub 2021-12-16 12:57:57 +00:00
Oj
d09ce4a3d2 [Bootstrap] Add commented experimental code 2021-12-14 22:51:12 +00:00
Oj
4c535cfb89 [FirstRun] Use generic stub file for reuse 2021-12-14 22:50:09 +00:00
Oj
cdd0322bc8 [Splash] Rename splashScreen.js.self 2021-12-14 22:28:49 +00:00
Oj
6835b566a3 [FirstRun > win32] Add logging on export call 2021-12-13 19:02:18 +00:00
Oj
5a40e4eee8 [AutoStart > Various] Add logging on export call 2021-12-13 18:59:56 +00:00
Oj
9bd97701d5 [Splash > UI] Add version info in corner 2021-12-13 18:30:38 +00:00
Oj
46f57c95f3 [AutoStart > win32] Fix update error not using exports 2021-12-13 17:55:21 +00:00
Oj
6c0edb9275 [WindowsUtils] Fix variable using const 2021-12-13 14:55:19 +00:00
Oj
e8a5ceedb6 [WindowsUtils] Fix variable misname 2021-12-13 14:51:09 +00:00
Oj
0c16ae59f7 [AutoStart > win32] Fix update error 2021-12-13 14:48:12 +00:00
Oj
0bf31033ef [AsarUpdate] Don't update if version does not match format of nightly releases 2021-12-13 11:02:22 +00:00
CanadaHonk
2a77d914c1
[FirstRun > win32] Fix another updated var name error 2021-12-13 10:11:25 +00:00
Oj
7e354ccd4f [FirstRun > win32] Fix using wrong named var causing error 2021-12-13 09:56:37 +00:00
Oj
fddf332713 [FirstRun > win32] Fix accidentally including some broken Discord code at top of file 2021-12-13 09:50:27 +00:00
Oj
aeb25708ac [AutoStart > win32] Fix path var name 2021-12-13 09:38:32 +00:00
Oj
9e0566a418 [AutoStart] Complete rewrite 2021-12-13 08:40:18 +00:00
Oj
9484954247 [FirstRun] Complete rewrite 2021-12-13 08:11:10 +00:00
Oj
2405800bf6 [Index] Fix overlay loading via loading all modules 2021-12-12 22:46:13 +00:00
Oj
4f5a677599 [Utils > u2LoadModulePath] Add all loading support 2021-12-12 22:45:58 +00:00
Oj
2c9bce5c26 [Index] Overlay experimenting (2) 2021-12-12 22:30:53 +00:00
Oj
ed88339cb8 [Index] Overlay experimenting 2021-12-12 22:22:43 +00:00
Oj
2465956c60 [Paths] Fix resources path 2021-12-12 17:42:43 +00:00
Oj
fe5cbe275b [Splash > UI] Use self for video host 2021-12-12 15:00:08 +00:00
Oj
c102cf7669 [Utils > u2LoadModulePath] Fix 2021-12-12 14:51:29 +00:00
Oj
308ba74a18 [Index] Add overlay support and rewrite some new updater code 2021-12-12 14:41:15 +00:00
Oj
21256d5da2 [ErrorHandler] Rewrite to fix and be simpler 2021-12-12 13:06:28 +00:00
Oj
43f3e7bd12 [Splash > UI] Use dynamic size for body sizing instead of fixed 2021-12-12 11:55:50 +00:00
Oj
c5fe63413c [Splash > UI] Replicate Discord's UI look 2021-12-12 11:48:50 +00:00
Oj
a6cdcc8f5b [Bootstrap] Add env variable to halt starting after splash for testing 2021-12-12 11:45:25 +00:00
Oj
41fe1b45ec [SecurityUtils] Self rewrite, also with safer patch plus using non-deprecated API 2021-12-11 22:50:26 +00:00
Oj
a0f7481ad5 [Backoff] Add short explaination of class with comment 2021-12-11 22:15:23 +00:00
Oj
53f389c731 [Backoff] Self rewrite 2021-12-11 22:10:26 +00:00
Oj
f10a49b18a [Settings] Small refactor: add comments, tweak some variable naming 2021-12-11 21:50:23 +00:00
Oj
ba9b26945c [Settings] Use nullish operator for get default value 2021-12-11 21:44:25 +00:00
Oj
14f342ef2f [WindowsUtils] Self rewrite, move to utils 2021-12-11 21:35:59 +00:00
Oj
c17dc1fb19 [CI] Have version dynamically generated via commit 2021-12-11 20:09:43 +00:00
Oj
a8c0a15792 [ErrorHandler] Add uncaught exception handling 2021-12-11 19:51:36 +00:00
Oj
d53177898a [AsarUpdate] Handle write error without erroring fully 2021-12-11 19:51:14 +00:00
Oj
2eb71e71a6 [RetainAsar] Don't try on non-Win, don't try if matching asar 2021-12-11 15:59:37 +00:00
Oj
17ce37f858 [RetainAsar] Backup next asar to app.asar.backup 2021-12-11 15:32:19 +00:00
Oj
d289cec12e [RetainAsar] Initial Add 2021-12-11 15:20:28 +00:00
Oj
c90c4fe491 [Splash > QuickStart] Simplify new updater code to use exe path, add reason logging 2021-12-11 15:20:16 +00:00
Oj
b5ad8d8fb1 [Paths] Expose exe path via func export 2021-12-11 15:19:04 +00:00
Oj
53024c2c42 [AsarUpdate] Add buttons to modal for restarting 2021-12-11 13:30:27 +00:00
Oj
2110bfbf41 [Bootstrap] Fix incorrectly reading autoupdate config option 2021-12-11 13:28:47 +00:00
Oj
45723b9b66 [Bootstrap] Fix using wrong userData directory 2021-12-11 12:41:08 +00:00
Oj
98eb256a1b [AsarUpdate] Fix for new nightly url 2021-12-11 11:33:15 +00:00
Oj
d952aa72fa [Bootstrap] Add more expected globals 2021-12-11 11:11:42 +00:00
Oj
1097d42de1 [Polyfills > mkdirp] Convert to new polyfill system instead of in utils 2021-12-11 11:08:35 +00:00
Oj
9674d9e483 [Bootstrap] Add multi-instance handling 2021-12-11 10:37:43 +00:00
Oj
b3d0d3e32b [AsarUpdate] Initial Add, autoupdate after Discord startup 2021-12-11 09:59:39 +00:00
Oj
2b5c3c8baa [Mkdirp] Fix async not being recursive 2021-12-11 08:23:29 +00:00
Oj
6cfa808f7f [Polyfills] Rewrite 2021-12-11 00:45:56 +00:00
Oj
9ce5e8c443 [Polyfills > Request] Add logging 2021-12-11 00:14:21 +00:00
Oj
c3b11e5080 [Polyfills > mime-types] Make stub return a content type 2021-12-11 00:14:03 +00:00
Oj
46e724e150 [Polyfills > mime-types] Add stub 2021-12-11 00:09:36 +00:00
Oj
ebf459d846 [Polyfills] Add request, rewrite request wrapper to be generic polyfill 2021-12-11 00:06:47 +00:00
Oj
ab348f7ba1 [Bootstrap] Fix last commit using invalid var 2021-12-10 21:44:19 +00:00
Oj
5d7471462c [Splash > QuickStart] Fix new updater code sometimes being used when new updater is undefined 2021-12-10 21:32:19 +00:00
Oj
e4bd46d1e8 [Bootstrap] Force set app name (see comment) 2021-12-10 21:31:40 +00:00
Oj
3d55df0dee [Splash] Add better webcontentssend error handling and checking 2021-12-10 20:45:54 +00:00
Oj
5facca21e0 [Package] Name discord to avoid data issues 2021-12-10 20:42:31 +00:00
Oj
8f79dcef9b [Index] Bump version: v0.2 (non-dev) 2021-12-10 20:13:35 +00:00
Oj
db2ecda0ec [Updater > Request] Rewrite to not use request npm dependency, custom https built-in wrapper 2021-12-10 20:01:41 +00:00
Oj
476b41af97 [Mkdirp] Fix still causing callback error with async 2021-12-10 20:00:24 +00:00
Oj
603d92967b [Splash] Disable logging for webcontents send 2021-12-10 19:58:52 +00:00
Oj
0d7680dcc9 [Chore] Remove package-lock.json 2021-12-10 19:57:17 +00:00
Oj
6320b78f58 [Bootstrap] Globalise some expected things for later 2021-12-10 18:37:50 +00:00
Oj
4aff24376c [Updater > v1 > Module] Use custom wrapper instead of replacing for better handling and futureproofing 2021-12-10 18:29:52 +00:00
Oj
b9f3656f34 [Updater > v1 > Module] Replace mkdirp with fs 2021-12-10 18:19:48 +00:00
Oj
5855d95b44 [Splash] Remove old unused Discord splash 2021-12-10 18:18:24 +00:00
Oj
4ae0e48e98 [Splash > QuickStart] New updater force init v2 2021-12-10 18:03:44 +00:00
Oj
4ad38c5a77 [Index] Version embedded into js, don't use package 2021-12-10 17:17:49 +00:00
Oj
a29564c42d [Paths] Tweak resources path, set var instead of making each func 2021-12-10 17:17:00 +00:00
CanadaHonk
1d2d00ab25 [Bootstrap] Add hardware acceleration disabling if setting 2021-12-10 14:21:35 +00:00
Oj
089b97084a [Package] Bump version: 0.2 2021-12-09 22:09:07 +00:00
Oj
a5b7624b5c [Splash > QuickStart] Tweak timing for new updater, add config flag to enable as well as an env 2021-12-09 21:42:27 +00:00
Oj
1f1736bcc3 [Splash] Start quick start and skip startup update checks 2021-12-09 20:20:57 +00:00
Oj
7f78bc8d9a [Init] Add version logging and config loading 2021-12-09 19:27:06 +00:00
Oj
304649193a [Package] Add version 2021-12-09 19:26:39 +00:00
Oj
5f0ce18c83 [Bootstrap] Cleanup imports, add build info logging 2021-12-09 19:26:22 +00:00
Oj
bcc5a2837d [General] Make log global, remove unused generic stub 2021-12-09 18:41:04 +00:00
Oj
5bf4a8a0bd [Splash > UI] Add current/total to text 2021-12-09 18:25:26 +00:00
Oj
de780bda79 [FirstRun] Add stub to fix Windows error 2021-12-09 16:44:30 +00:00
Oj
e3e0bb0b17 Initial Proper Commit 2021-12-09 16:25:14 +00:00
Oj
b9ccf7f08e [Package] Initial Add 2021-12-09 11:54:43 +00:00