Commit Graph

522 Commits

Author SHA1 Message Date
Ducko 8cf5233e94 rewrite: replace requireNative with globalPaths workaround
Added Module.globalPaths workaround (reintroduce native usage instead of our own util using it) is needed as Discord's overlay code depends on their own implementation of this. Also removed requireNative and replace with just require since no longer needed with this hack anyway.
2023-04-10 20:59:54 +01:00
Ducko d8035e14b7 settings: rewrite item injection 2023-04-08 21:12:15 +01:00
Ducko 6705ee9933 autostart: only update on win32 2023-04-03 22:32:40 +01:00
Ducko 120d1a5b16 config: ensure window is not destroyed 2023-04-03 18:37:40 +01:00
Ducko be9f15dc45 config: show existing window if already open 2023-04-03 17:40:02 +01:00
Ducko 0d81eadaf0 domopt: remove append opt 2023-04-03 14:50:43 +01:00
Ducko 9052a5cb78 domopt: rewrite and apply to append too 2023-04-03 10:46:52 +01:00
Ducko 28e8ed4a60 inject: dom optimizer (wip) 2023-04-02 22:29:39 +01:00
Ducko ac0ad4d48a settings: make version hash look better 2023-04-01 21:46:04 +01:00
Ducko cc0cae97f9 settings: add openasar setting item (rewrite) 2023-04-01 20:51:02 +01:00
Ducko 3a52bd2ac7 autoStart: rewrite into monolithic file 2023-03-23 21:55:09 +00:00
Ducko 3279282c96 autoStart/linux: tweak desktop file 2023-03-23 20:53:23 +00:00
alsoGAMER 40b27dd1b8
[noTrack] Blocking improvements (#108)
* [noTrack] Also block metrics call

* [noTrack] Wildcard api version for science call
2023-01-13 15:05:43 +00:00
Ducko c2cd5449bd constants: use new, new endpoint 2023-01-11 22:00:30 +00:00
Ducko c9a4662008 bootstrap: minor code cleanup 2023-01-11 21:56:01 +00:00
Ducko 6b6cabecf0 autoStart/win32: quote executable path 2023-01-11 21:54:33 +00:00
Ducko 0b1d4685cb asarUpdate: rewrite to use async and no temp file 2022-12-11 12:51:28 +00:00
Ducko edb6a5b4fe updater: rewrite openasar retaining 2022-12-11 12:36:41 +00:00
Ducko 78b49c092c updater: skip host deltas 2022-12-11 12:35:40 +00:00
Ducko ad9b161744 moduleUpdater: don't defer voice module 2022-12-02 22:38:48 +00:00
CanadaHonk ec5082860e
Remove Polyfills (#101)
* poly: remove completely

* bootstrap: remove unused request require

* asarUpdate: rewrite request -> https

* moduleUpdater: rewrite request -> https

* ui: fallback to channel instead of "custom" if no hash

* index: set name to branch for obvious testing

* config/backend: tweak source

* moduleUpdater: fix rewrite

* moduleUpdater: fix rewrite (x2)

* moduleUpdater: follow redirects with rewrite

* ci: start multi-branch rewrite

* ci: upgrade node to 18.x

* ci: rewrite version changing to use existing

* ci: change release version getting to in file

* ci: mess with yaml syntax

* ci: revert to node 16.x, fix version wrapped in quotes

* ci: fix invalid yaml

* ci: yaml syntax fixing

* ci: append to tag

* ci: make pre-release unless nightly build

* ci: add title nicening

* asarUpdate: fix release suffix

* asarUpdate: fix not following redirect

* winFirst: don't remake shortcuts, tweaks

* ui: add channel prefix if non-nightly

* chore: prep for main branch
2022-12-02 22:23:46 +00:00
Ducko f2da613f2b requireNative: fix reversing 2022-12-01 21:19:42 +00:00
Ducko 7a04cb57df css: fix escaping backticks 2022-10-10 16:41:39 +01:00
Kyiro c72f1a3fc0
paths: add DISCORD_USER_DATA_DIR support (#88) 2022-10-02 20:37:10 +01:00
Ducko 78204759a3 bootstrap: rewrite new blocking system 2022-09-29 17:07:54 +01:00
Ducko 1f0ac0f27e bootstrap: fix new blocking system 2022-09-29 17:04:13 +01:00
Ducko 3314bc9c28 bootstrap: tweak webRequest handling 2022-09-29 16:01:43 +01:00
Ducko 5c68a2a78f bootstrap: add noTyping 2022-09-29 15:52:57 +01:00
Ducko d63646ccfe mainWindow: fix OA version css 2022-09-29 14:09:36 +01:00
Ducko 3291e197af utils/win: tie window caching to version 2022-09-28 19:39:22 +01:00
Ducko 3e027d59f2 bootstrap: default css config for injection 2022-09-28 18:00:27 +01:00
Ducko 3278a3f97e mainWindow: rewrite css injection 2022-09-28 17:50:29 +01:00
Ducko 5d2bd94945 css: rewrite css injection to use mainWindow to fix imports 2022-09-28 17:33:31 +01:00
Ducko a021777ede bootstrap: disable CSP with css too 2022-09-28 16:21:30 +01:00
Ducko f425859c93 bootstrap: add CSS injection support (like JS) 2022-09-28 15:50:06 +01:00
Ducko 045f9db914 asarUpdate: clean up old code 2022-09-28 13:33:26 +01:00
Ducko 73fcc84e25 config: tweak preload 2022-09-28 10:58:07 +01:00
CanadaHonk e087078400
[Chore] Clean PR 2022-08-07 13:41:18 +01:00
Julian Pettersen 4606f93e52
Logic for opening settings.json (#77)
Co-authored-by: Julian pettersen <darlion2301@gmail.com>
2022-08-07 13:37:32 +01:00
CanadaHonk 6f7505fb91
[Init] Don't die on QS globalPaths fail on Win 2022-06-27 08:00:16 +01:00
Ducko c6f2f5eb78 [NoTrack] Possible fix 2022-06-10 11:00:01 +01:00
Ducko e3cfc8dcdc [NoTrack] Disable console setting (temp) 2022-06-10 10:54:23 +01:00
Ducko 936ee08616 [NoTrack] Revert last 2022-06-10 09:12:04 +01:00
Ducko 967229fea8 [NoTrack] Fallback/more disabling of Sentry in inject 2022-06-10 09:08:29 +01:00
Ducko 0018c52257 [NoTrack] Disable Sentry in main window inject instead of JS intercepting 2022-06-10 09:06:55 +01:00
Ducko c3b020f0f1 [Updater > v2] Catch errors in RetainAsar incase it fails for some reason 2022-06-08 20:32:24 +01:00
Ducko b089e48bd7 [Paths] Remove cleanOldVersions whilst unused 2022-06-08 20:31:47 +01:00
Ducko 3585c7a1db [Paths] Disable cleanOldVersions (for now) 2022-06-08 20:30:14 +01:00
Ducko 605c1b89dc [Splash > Backend] Fix passing details to host update UI 2022-06-08 20:10:38 +01:00
Ducko cca324c536 [AutoStart > Linux] Fix system electron icon path 2022-05-31 11:37:45 +01:00