Commit graph

488 commits

Author SHA1 Message Date
Oj
dc908c54cc [AppSettings] Integrate Settings util within, make settings global to avoid unneeded reuse 2022-04-05 08:35:57 +01:00
Oj
7e9ede7fc8 [Updater > v2] Rewrite RetainAsar to hook into restarting directly in updater to simplify 2022-04-04 20:55:05 +01:00
Oj
4f2a8599f0 [Updater > Module] Rewrite bootstrap to be clean (#32), additional source cleanup 2022-04-04 18:41:32 +01:00
Oj
61d3201843 [Updater > Module] Minor source cleanup 2022-04-04 15:45:37 +01:00
Oj
9bf21e63d1 [Various] Minor general source cleanup 2022-04-04 15:41:49 +01:00
Oj
c1b6fc2a97 [Utils > Backoff] Remove as no longer used 2022-04-04 15:25:18 +01:00
Oj
53f2767b28 [Splash > Backend] Minor source cleanup 2022-04-04 15:19:27 +01:00
Oj
b20b3a1566 [Splash > Backend] Minor source cleanup further 2022-04-04 15:06:05 +01:00
Oj
516eef9abe [Splash > Backend] Minor source cleanup 2022-04-04 14:05:48 +01:00
Oj
b44e934bc7 [Various] Remove init logging 2022-04-04 09:05:06 +01:00
Oj
ea1ebe7251 [Updater > Module] Minor source cleanup further 2022-04-04 08:55:48 +01:00
Oj
cc02435a0b [Updater > Module] Minor source cleanup 2022-04-04 08:50:32 +01:00
Oj
3de67cf760 [Updater > Module] Retry host update check on error, minor host cleanup 2022-04-04 08:28:57 +01:00
Oj
668235aed9 [Updater > Host] Fail gracefully 2022-04-04 08:23:02 +01:00
Oj
86c17ca29f [Updater > Module] Rewrite to deeply integrate custom unzip instead of yauzl polyfill, other unzip improvements and minor source cleanup 2022-04-03 22:27:05 +01:00
Oj
a0e288821e [Splash > Backend] Minor source tweak 2022-04-03 22:18:12 +01:00
Oj
07f2bac29b [Utils > RequireNative] Tweak comments 2022-04-03 22:17:29 +01:00
Oj
2933c40ad6 [Config] Minor source tweak 2022-04-03 22:16:32 +01:00
Oj
19d24b1eb6 [Splash] Move HTML to remote 2022-04-03 18:40:20 +01:00
Oj
6c7f3ee2a9 [Splash > Backend] Fix quickstart on win32 from last commit 2022-04-02 22:26:03 +01:00
Oj
9fd8dc8530 [General] Electron 17 minor rewrite, large logging cleanup 2022-04-02 22:23:19 +01:00
Oj
97ab2297ff [Updater > v2] Minor source cleanup further 2022-04-02 17:16:30 +01:00
Oj
b6947d6729 [Updater > v2] Minor source cleanup further 2022-04-02 11:17:37 +01:00
Oj
c604370684 [Updater > v2] Minor source cleanup, fix restarting to next host 2022-04-02 11:08:44 +01:00
Oj
8e033ba331 [Updater > v2] Minor source cleanup 2022-04-01 21:17:07 +01:00
Oj
b0dd7d01a0 [Bootstrap] Minor source cleanup 2022-03-29 19:13:01 +01:00
Oj
4b7c7430e5 [MainWindow] Rename file 2022-03-29 18:26:41 +01:00
Oj
f1e5c62f55 [Bootstrap] Minor source cleanup 2022-03-29 18:21:36 +01:00
Oj
cd2136a94e [Paths] Move setting globals and cleanOldVersions into paths itself 2022-03-29 18:14:18 +01:00
Oj
74ec6916a8 [Config] Remove tmp file 2022-03-29 14:11:07 +01:00
Oj
a416e66bef [Config] Small cleanup from last commit 2022-03-29 14:09:09 +01:00
Oj
c20e652eed [Config] Shorten IPC event names, remove argv filtering on restart as unneeded 2022-03-29 14:05:03 +01:00
Oj
4e18696b43 [Utils > Settings] Major source cleanup 2022-03-28 08:31:52 +01:00
Oj
88f482e017 [AsarUpdate] Minor source cleanup 2022-03-28 08:20:03 +01:00
Oj
fad51056a4 [Index] Tweak how log is set globally 2022-03-28 08:16:24 +01:00
Oj
e28fc5864b [Index] Move log to index instead of separate utils file 2022-03-28 08:14:13 +01:00
Oj
c038e13ccf [AutoStart > Linux] Minor source cleanup 2022-03-25 23:01:06 +00:00
Oj
47a36d8bae [AutoStart > Stub] Minify arg names 2022-03-25 22:58:56 +00:00
Oj
a5cf9aa76b [FirstRun > win32] Various minor rewrites 2022-03-25 22:54:40 +00:00
Oj
50907d05e1 [FirstRun] Rename export 2022-03-25 22:54:12 +00:00
Oj
185863400e [Chore] Remerge external commits 2022-03-24 22:26:50 +00:00
Oj
8467b8bd33 [MainWindow] Move themesync init to last to fix erroring half way through inject 2022-03-24 22:24:20 +00:00
Oj
2214be211f [Splash > Backend] Minor source cleanup 2022-03-24 14:09:59 +00:00
Oj
ed445f830f [Updater > v2] Fix undefined error 2022-03-24 13:14:32 +00:00
Oj
7530f5c23b [Updater > v2] Partial rewriting (various cleanup and removal of unneeded) 2022-03-24 13:02:48 +00:00
Oj
d32d5f2337 [Updater > v2] Minor source cleanup (rewriting) 2022-03-24 12:46:25 +00:00
Oj
fe52de3e51 [Updater > v2] Partial rewriting (commiting modules) 2022-03-24 12:43:18 +00:00
Oj
af9bec3783 [AsarUpdate] Make generic (support various channels of updates) 2022-03-23 22:49:07 +00:00
Oj
7c11adddc4 [Updater > v2] Cleanup previous partial rewriting 2022-03-23 19:30:07 +00:00
Oj
007b0f4925 [Updater > Module] Further minor source cleanup 2022-03-23 19:26:11 +00:00
Oj
471084c7ec [Updater > Module] Further minor source cleanup 2022-03-23 11:01:44 +00:00
Oj
babf473559 [Updater > Module] Further minor source cleanup 2022-03-23 10:58:33 +00:00
Oj
ac97a3863e [Updater > Module] Minor source cleanup 2022-03-23 10:56:26 +00:00
Oj
281432d6f7 [Updater > Module] Fix undefined error from last commit 2022-03-23 09:55:29 +00:00
Oj
b9ae3495fb [Updater > Module] Don't recheck after just installed, also minor source cleanup 2022-03-23 09:54:57 +00:00
Oj
364d3c564c [Registry] Minor rewrite / code cleanup 2022-03-22 21:01:31 +00:00
Oj
0b4e1f79bc [Registry] Minor source cleanup 2022-03-22 08:46:50 +00:00
Oj
f1b49d1d81 [Splash > UI] Minor source cleanup 2022-03-20 12:37:01 +00:00
Oj
2506002cae [Updater > Module] Readd an event name export to fix DiscordNative's ensureModule 2022-03-20 12:33:24 +00:00
Oj
399727845b [Updater > Module] Minor source cleanup 2022-03-19 12:31:39 +00:00
Oj
9b1350fe59 [Updater > Module] Further slight source cleanup 2022-03-19 11:25:47 +00:00
Oj
9f23ae84bb [Updater > Module] Minor source cleanup 2022-03-19 11:23:59 +00:00
Oj
956f1d7ad9 [Bootstrap] Tweak logging 2022-03-19 11:10:13 +00:00
Oj
02590ea3f7 [Updater > Module] Minor source cleanup 2022-03-18 22:52:55 +00:00
Oj
26f84c77c4 [Updater > Module] Rewrite installPendingUpdates to specialize with bootstrapping as only purpose 2022-03-18 22:49:04 +00:00
Oj
82037247e0 [Config] Fixed not saving when no OA config already 2022-03-16 20:01:21 +00:00
Oj
0ef70bff3e [Updater > v2] Partial rewriting 2022-03-16 10:51:06 +00:00
Oj
b8a04bc1a3 [Updater > Module] Minor source cleanup 2022-03-16 10:40:58 +00:00
Oj
e24a05fc70 [Updater > Module] Minor source cleanup 2022-03-15 22:27:06 +00:00
Oj
5b83de4bfa [Updater > Module] Minor source cleanup 2022-03-15 22:00:20 +00:00
Oj
84b6fac13f [Splash > Backend] Minor source cleanup 2022-03-15 20:16:09 +00:00
Oj
cf50d62991 [Splash > Backend] Remove commented out code 2022-03-15 20:13:41 +00:00
Oj
388bbf548d [Updater > Module] Self-rewrite 2022-03-15 19:11:54 +00:00
Oj
49dbd48a05 [CmdSwitches] Simplify source a bit 2022-03-15 17:34:57 +00:00
Oj
030fc2a044 [CmdSwitches] Fix crashing on invalid preset 2022-03-15 15:16:24 +00:00
Oj
2d22300776 [RetainAsar] Cleanup source 2022-03-14 19:05:36 +00:00
Oj
ab3c674237 [FirstRun > win32] Tweak source 2022-03-14 19:01:42 +00:00
Oj
6214ae0a24 [Updater > Host] Simplify Linux and exporting 2022-03-14 18:35:46 +00:00
Oj
14d9aab003 [Updater > Module] Smooth install progress 2022-03-14 18:20:02 +00:00
Oj
bbaa567c75 [u2QuickLoad] Inline some requires 2022-03-14 09:36:54 +00:00
Oj
7d00ef5082 [FirstRun > win32] Clean up source a bit 2022-03-14 09:33:27 +00:00
Oj
ec5f9b4449 [Splash > UI] Finalise font handling for upcoming ThemeSync font syncing 2022-03-14 09:28:22 +00:00
Oj
d7d372e068 [Splash > UI] Fix font handling when var is unset 2022-03-13 20:30:31 +00:00
Oj
671ef9de00 [ThemeSync] Remove font sync 2022-03-13 20:20:26 +00:00
Oj
898a1445f6 [Config] Initial Add 2022-03-13 20:12:42 +00:00
Oj
c510e44aaa [Splash > Various] Major clean up / rewriting to simplify source 2022-03-13 15:53:33 +00:00
Oj
33a324ba04 [Splash > Backend] Remove unneeded BW props 2022-03-13 13:29:03 +00:00
Oj
9278749611 [Splash > Backend] Tweak backend-preload IPC 2022-03-13 13:05:28 +00:00
Oj
74ca819e4f [Splash > UI] Clean up font loading 2022-03-12 11:01:53 +00:00
Oj
e7ffe07440 [Splash > UI] Redo font handling (again) 2022-03-12 10:46:03 +00:00
Oj
7da982b378 [Registry] Fix erroring 2022-03-11 17:32:27 +00:00
Oj
69266fa156 [FirstRun > win32] Fix erroring 2022-03-11 17:26:59 +00:00
Oj
95e62f9d62 [Splash > Preload] Minor context bridge tweaks / cleanup 2022-03-11 14:18:25 +00:00
Oj
352028a4b2 [u2QuickLoad] Source cleanup 2022-03-11 14:12:43 +00:00
Oj
2ed61b67f6 [FirstRun > win32] Minor source cleanup 2022-03-11 13:22:46 +00:00
Oj
e1330cc6bf [AutoStart > win32] Minor source cleanup 2022-03-11 12:52:16 +00:00
Oj
82c23cf845 [Registry] Move installProtocol to util, minor source cleanup 2022-03-11 12:49:39 +00:00
Oj
f1ab5b0d91 [Splash > UI] Tweak font var handling 2022-03-11 12:38:36 +00:00
Oj
b8000c2e8a [Splash > Backend] Minor source cleanup 2022-03-11 08:56:36 +00:00
Oj
c829a9135b [BuildInfo] Inline require 2022-03-11 08:52:18 +00:00
Oj
8260503b42 [Settings] Minor source cleanup 2022-03-11 08:50:59 +00:00
Oj
5669a499c1 [Updater > App] Minor source tweaks 2022-03-10 22:23:33 +00:00
Oj
4e21350ca3 [MainWindow] Clean up injection source 2022-03-10 21:27:02 +00:00
Oj
0c8033616a [u2QuickLoad] Rewrite and rename from u2LoadModulePath 2022-03-10 08:56:34 +00:00
Oj
b3614d035f [Registry] Rewrite to not use internal spawn func, fix using old func name 2022-03-10 08:48:23 +00:00
Oj
1540dfcbbb [Registry] Rename WindowsUtils to Registry, more specialised rewrite 2022-03-10 08:46:09 +00:00
Oj
ee98fe11ae [WindowsUtils] Cleanup source a bit 2022-03-10 08:41:29 +00:00
Oj
7733a3bd1a [WindowsUtils] Source tweaks 2022-03-09 22:29:04 +00:00
Oj
ca60ef7ac5 [MainWindow] Remove GM setting (obsolete / unneeded) 2022-03-09 22:24:15 +00:00
Oj
da406d0fe0 [ErrorHandler] Rewrite stack getting and other minor parts 2022-03-09 22:20:34 +00:00
Oj
316b458eee [CmdSwitches] Total rewrite (fixes parser for combining presets) 2022-03-09 22:05:40 +00:00
Oj
91a4f7377a [CmdSwitches] perf: Disable QUIC 2022-03-01 19:13:37 +00:00
Oj
bcfb58fdaa [Splash] Wrap sendState in try catch 2022-02-17 20:47:15 +00:00
Oj
b860068286 [Splash > Backend] Clean up source further 2022-02-16 16:02:58 +00:00
Oj
d4e14ae35a [Updater > App] Move some requires inline 2022-02-16 15:48:29 +00:00
Oj
5fb4664a9b [Updater > Request] Clean up source more 2022-02-16 15:24:44 +00:00
Oj
9f7920d287 [Splash > Backend] Clean up source a bit 2022-02-16 10:34:23 +00:00
Oj
cc77907845 [Splash > Backend] Rewrite old updater to use same new UIProgress class for UI tracking (#22) 2022-02-16 10:21:56 +00:00
Oj
f1aed17167 [RetainAsar] Remove excess logging 2022-02-16 09:18:03 +00:00
Oj
8d673370e0 [FirstRun > Win] Fix bad var name 2022-02-16 09:10:18 +00:00
Oj
d5065d4d55 [AsarUpdate] Clean up source a bit 2022-02-16 09:03:43 +00:00
Oj
b70ca76ba6 [AsarUpdate] Uncomment non-standard check from testing 2022-02-15 22:14:33 +00:00
Oj
308f402c03 [AsarUpdate] Check downloaded asar isn't XML error from GH api 2022-02-15 22:11:57 +00:00
Oj
567f7dd61e [Bootstrap] Revert accidental inclusion 2022-02-15 21:54:12 +00:00
Oj
2bcbec4d44 [Bootstrap] Make forced Electron props general and not check OS as unneeded 2022-02-15 21:52:32 +00:00
Oj
99a20ceca7 [Splash > Backend] Fix syntax error in stripped, tweak source a bit 2022-02-15 19:15:09 +00:00
Oj
6172cf0dee [Splash > Backend] Full rewrite (updater parts) 2022-02-15 13:57:13 +00:00
Oj
db0b3f1319 [CmdSwitches] Remove switches logging, don't add unneeded wrapping flags 2022-02-15 13:47:36 +00:00
Oj
13aa07117e [AppSettings] Don't remake each export call 2022-02-15 13:41:25 +00:00
Oj
cbe4b5f8a9 [Paths] Rewrite to use init to not create each require 2022-02-15 13:40:43 +00:00
Oj
9e5fb88397 [Paths] Remove unneeded logging in cleanOldVersions 2022-02-14 16:08:27 +00:00
Oj
f4cfbb21a1 [Bootstrap] Simplify logging and some modules passing to core startup 2022-02-14 08:26:33 +00:00
Oj
591d49d266 [Settings] Clean up logging 2022-02-14 08:17:02 +00:00
Oj
39eaf6c589 [AsarUpdate] Clean up unneeded logging 2022-02-14 08:12:55 +00:00
Oj
4955f5f8cf [Index] Simplify system electron and overlay source 2022-02-13 21:30:05 +00:00
Oj
2ca57c8f6b [Index] Clean up source a bit 2022-02-13 20:52:19 +00:00
Oj
4bd29cadb8 [Splash > Backend] Clean up a bit 2022-02-13 19:15:32 +00:00
Oj
600bc953be [AutoStart > Linux] Fix for system electron 2022-02-13 19:13:29 +00:00
Oj
4a33d5a1c4 [CmdSwitches] Remove logging for each append 2022-02-12 17:06:50 +00:00
Oj
c222c09b59 [CmdSwitches] Disable media keys and session in base flags 2022-02-12 17:04:21 +00:00
Oj
572f049552 [Bootstrap] Simplify logging a bit more 2022-02-12 16:51:58 +00:00
Oj
ce79a5d6bc [Bootstrap] Simplify logging 2022-02-12 14:35:46 +00:00
Oj
b03e18c9fb [Bootstrap] Stop setting ARPR flag (unneeded?) 2022-02-12 14:29:26 +00:00
Oj
d807128800 [Backoff] Rewrite to clean up a lot 2022-02-12 11:17:04 +00:00
Oj
c707c7bab4 [Splash > UI] Clean up source (font handling) 2022-02-11 22:50:31 +00:00
Oj
7f1d6d12c4 [Splash > Backend] Self-rewrite main code (not updater parts) 2022-02-11 22:41:40 +00:00
Oj
14c5f4939d [Splash > Backend] Minor source cleanup 2022-02-11 20:36:34 +00:00
Oj
875d8aa103 [Splash > Backend] Rewrite showing and injection to use events instead of IPC 2022-02-11 20:33:56 +00:00
Oj
80f9c6fc68 [Updater > Request] Fix download progress 2022-02-11 08:52:00 +00:00
Oj
75d5cf0915 [RequireNative] Remove and just use require to simplify 2022-02-11 08:43:44 +00:00
Oj
0abad98295 [SecurityUtils] Remove as unneeded 2022-02-11 08:35:04 +00:00
Oj
5a3cf6d81f [Splash > Preload] Cleanup source (remove unused native) 2022-02-10 21:14:23 +00:00
Oj
00ae1f58a3 [Chore] Revert last commit for CI testing
This reverts commit 73bc0650d4.
2022-02-10 21:11:34 +00:00
Oj
73bc0650d4 [Splash > Preload] Cleanup source (remove unused native) 2022-02-10 21:05:37 +00:00
Oj
399ab4f861 [Splash > Backend] Clean up source, remove ssuc option 2022-02-09 14:32:31 +00:00
Oj
125fac237b [Splash > Backend] Clean up source a bit 2022-02-08 19:32:42 +00:00
CanadaHonk
47fa7e40f3
[Splash > Preload] Remove openUrl as unused 2022-02-08 13:12:28 +00:00
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