Commit graph

281 commits

Author SHA1 Message Date
CanadaHonk
22df92b559
[Updater > Host > Linux] Rewrite to simplify and fix erroring 2022-02-08 13:07:28 +00:00
Oj
c69bfdf0e1 [AsarUpdate] Clean up source (missing semicolon) 2022-02-06 21:16:38 +00:00
Oj
fe37f46bde [Splash] Fix accidental push of stripped testing 2022-02-06 17:48:27 +00:00
Oj
fc4cbc7996 [Splash > UI] Clean up source a bit 2022-02-06 16:57:01 +00:00
Oj
38e1fd1cab [Splash > UI] Use var for font, use new cdn domain for externals 2022-02-06 16:39:11 +00:00
Oj
82eaca1f72 [Chore] Remove linter commnents 2022-02-04 18:49:47 +00:00
Oj
8f77c6d363 [Updater > Request] Clean up source further 2022-02-03 22:19:01 +00:00
Oj
8b2ef7cfd5 [Updater > App] Rewrite to simplify imports 2022-02-03 21:53:59 +00:00
Oj
2bc195b479 [Bootstrap] Tweak multi instance handling (remove logging, simplify) 2022-02-03 21:38:00 +00:00
Oj
4c49ef4754 [Paths] Add cleanOldVersions 2022-02-02 18:35:54 +00:00
Oj
ff126420e9 [Splash > Preload] Tweak source 2022-02-02 08:37:06 +00:00
Oj
4b54121c59 [CmdSwitches] Fix no gap between base and preset 2022-02-01 20:35:59 +00:00
Oj
28bdab8df4 [Splash] Disable splashText by default 2022-01-30 20:33:37 +00:00
Oj
b73ba369f9 [Updater > Request] Clean up source 2022-01-30 20:13:32 +00:00
Oj
b611a32f90 [Utils > Security] Rewrite cuom func 2022-01-30 19:59:13 +00:00
Oj
44501bab8c [CmdSwitches] Add base from Discord, tweak source 2022-01-30 19:23:14 +00:00
Oj
64567cdad8 [Bootstrap] Rewrite forcing Electron props 2022-01-30 19:15:56 +00:00
Oj
4f7ce2a3d5 [Utils > u2LoadModulePath] Cleanup source 2022-01-29 11:21:05 +00:00
Oj
65058550f2 [Logging] Simplify log func 2022-01-29 11:16:24 +00:00
Oj
91f0784b00 [BuildInfo] Tweak source 2022-01-29 11:15:32 +00:00
Oj
9e18a106cf [FirstRun > Win] Clean up code a bit 2022-01-29 11:12:39 +00:00
Oj
7fe33d3412 [AutoStart > Stub] Simplify 2022-01-29 11:04:49 +00:00
Oj
17f264e6bd [AutoStart > Linux] Clean up code (rewrite to simplify and not use as much) 2022-01-29 11:03:08 +00:00
Oj
7d173db003 [AutoStart > Win] Clean up code (use base queuePrefix and simplify some vars / funcs) 2022-01-29 10:23:41 +00:00
Oj
36d9a091fd [Updater > App] Fix error for updater v2 2022-01-28 21:02:49 +00:00
Oj
9db4c31be2 [Updater > Host > Linux] Fix request getting 2022-01-28 20:55:30 +00:00
Oj
23e72de71b [Index] Tweak source (don't check process.argv as unneeded) 2022-01-28 20:53:12 +00:00
Oj
dddd625954 [Argv] Remove lib as unneeded 2022-01-28 20:52:45 +00:00
Oj
803c008fbe [Bootstrap] Fix splash require path 2022-01-28 20:47:31 +00:00
Oj
1fa563b514 [Updater > App] Self rewrite 2022-01-28 20:45:04 +00:00
Oj
d5114748ff [Updater > V2] Various source tweaks 2022-01-28 20:29:07 +00:00
Oj
33da0fa68f [Updater > Host] Self rewrite, remove SquirrelUpdate 2022-01-28 20:06:36 +00:00
Oj
2347621828 [AutoStart > Linux] Tweak source (don't include newline at end of desktop) 2022-01-28 19:17:06 +00:00
Oj
3af40a932e [Splash > Preload] Remove old unused funcs from pre-rewrite 2022-01-28 19:06:41 +00:00
Oj
eff05c5226 [IPCMain] Remove completely 2022-01-28 19:05:07 +00:00
Oj
a8c019efff [Constants] Full self rewrite 2022-01-28 18:59:14 +00:00
Oj
fd76179fc1 [GPUSettings] Tweak source / simplify a bit 2022-01-28 18:49:52 +00:00
Oj
62c01b6fc0 [Splash] Rewrites for splashText and themesync injection to be main-side 2022-01-21 13:23:39 +00:00
Oj
48de8a1da6 [SecurityUtils] Rewrite ssoe to simpler one-liner 2022-01-21 12:56:47 +00:00
Oj
107e710c91 [Bootstrap] Tweak source to not duplicate argv handling code 2022-01-21 12:47:23 +00:00
Oj
37877bd7fb [Utils > Backoff] Fix syntax error 2022-01-21 12:39:00 +00:00
Oj
c2ee62ff52 [Updater > Request] Fix error 2022-01-19 18:51:06 +00:00
Oj
b9e8779b06 [Updater > Request] Self-rewrite 2022-01-19 18:16:35 +00:00
Oj
96da1645b6 [Settings] Make get defaultValue not false 2022-01-19 18:14:56 +00:00
Oj
4613182d4d [Index] Simplify overlay detection 2022-01-19 17:56:39 +00:00
Oj
4280c4ca70 [SecurityUtils] Remove sseoAllowlist option, have rewrite only 2022-01-19 17:49:46 +00:00
Oj
b01660d49f [Splash > Preload] Source tweaks 2022-01-19 17:43:13 +00:00
Oj
07058a6455 [CmdSwitches] Simplify presets into perf,battery 2022-01-19 17:19:17 +00:00
Oj
9bb1946e2a [BuildInfo] Simplify code (no vars) 2022-01-19 17:12:54 +00:00
Oj
194fe9e6ba [MainWindow] Add window var 2022-01-19 11:19:09 +00:00
Oj
82bf26827c [Splash > QuickStart] Make u2LMP load all instead of just desktop_core 2022-01-17 21:53:20 +00:00
Oj
58e197acbd [CmdSwitches] battery: Use on battery version instead of always for disk media cache 2022-01-16 21:01:11 +00:00
Oj
2e923349f4 [CmdSwitches] Enable perf-ex3 by default 2022-01-16 20:55:14 +00:00
Oj
b8c64e2fe8 [Updater > v2] Fix minified build by not relying on relative path for native module 2022-01-15 22:24:27 +00:00
Oj
b6952b89f2 [Splash] Remove quote handling as unused and unneeded 2022-01-15 21:18:52 +00:00
Oj
314afbfe5f [MainWindow] ThemeSync: Better error handling if var not found 2022-01-15 20:43:06 +00:00
Oj
8aee54ba7a [MainWindow] Wrap themesync in try catch 2022-01-15 20:41:01 +00:00
Oj
bb6454da31 [Splash] Fix setting module path twice for new updater quickstart 2022-01-14 18:14:49 +00:00
Oj
479aa3b305 [FirstRun > win32] Fix using wrongly named variable 2022-01-14 18:14:00 +00:00
Oj
b3ffacf472 [Poly > Yauzl] Initial Add 2022-01-14 14:02:26 +00:00
Oj
5867e27691 [Gitignore] Remove splashScreen rewrite temp / old / unused 2022-01-14 13:57:55 +00:00
Oj
425da3f128 [Updater > Request] Don't try Electron net at all, just request 2022-01-14 13:50:31 +00:00
Oj
913df50902 [Bootstrap] Add random possible Linux audio fix 2022-01-13 17:33:27 +00:00
Oj
bb5a36c4f6 [CmdSwitches] Cleaner rewrite, add more presets 2022-01-13 13:42:04 +00:00
Oj
045db9ba91 [Index] Fix system electron support not working for non-default Electron version installed 2022-01-12 15:15:16 +00:00
Oj
9a55abcd9c [MainWindow] Fix version injection, rewrite GM inject waiting 2022-01-08 22:02:32 +00:00
Oj
1a7d927d9c [Bootstrap] Only run splash pageReady once on dom-ready 2021-12-27 22:51:22 +00:00
Oj
285c1bca31 [Splash] Fix themeSync config not being used properly 2021-12-27 20:10:06 +00:00
Oj
39b0aa13dc [Utils > argv] Initial Add 2021-12-26 18:04:17 +00:00
Oj
e827df58c0 [Bootstrap] Add --start-minimized support 2021-12-26 17:48:09 +00:00
Oj
1e428e58a2 [MainWindow] Start GM settings section 2021-12-26 17:47:04 +00:00
Oj
245ed3f54a [MainWindow] Fix minor syntax error 2021-12-26 14:06:10 +00:00
Oj
a55f27f5c4 [MainWindow] ThemeSync: don't work for default Discord, cache last to check before running all, tweak replace text 2021-12-26 14:05:20 +00:00
Oj
6689c99589 [Splash] Rewrite to fix progress UI, fix state text 2021-12-23 16:26:36 +00:00
Oj
c381ac913f [Splash] Rewrite state handling to use switch and have more parity with original 2021-12-22 19:09:26 +00:00
Oj
7598051419 [General] Add system electron support fixes 2021-12-22 19:06:57 +00:00
Oj
e371d6b106 [Splash] Rewrite state handling to add retry state and make messages same format as Discord's 2021-12-22 14:14:34 +00:00
Oj
4e4ab5cd47 [ThemeSync] Don't use theme-dark, just body 2021-12-22 13:39:50 +00:00
Oj
2ec5009e6a [CmdSwitches] Initial Add 2021-12-21 10:38:18 +00:00
Oj
85349da075 [MainWindow] ThemeSync: Only save userDataCache if value changed, tweak interval value for saving 2021-12-21 08:42:20 +00:00
Oj
a02a6aabeb [MainWindow] Add custom version info to 2nd last instead of 2nd first 2021-12-19 10:25:05 +00:00
Oj
688be2e1c8 [AsarUpdate] Re-enable not updating on custom version from testing 2021-12-18 22:50:18 +00:00
Oj
c701c8f307 [AsarUpdate] Fix for new request polyfill changes 2021-12-18 22:48:34 +00:00
Oj
79a36dfb4b [Bootstrap] Override Core's splash ready (see comment) 2021-12-18 21:56:13 +00:00
Oj
f36174e55b [AsarUpdate] Disable update prompt by default, rewrite to be async 2021-12-18 20:20:48 +00:00
Oj
b2413f595a [MainWindow] Rewrite settings inject 2021-12-18 18:48:04 +00:00
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