Skip to content

Commit e6991e3

Browse files
authored
fix EnvironmentNotInitialized error (#214)
this missing retryOptions somehow caused the following crash on discord canary: ``` thread '<unnamed>' panicked at B:\b\discord_common\rust\napi\src\class.rs:139:37: called `Result::unwrap()` on an `Err` value: EnvironmentNotInitialized ``` The default option for it is false, as per: OpenAsar/discord-desktop-datamining@1552624...canary
1 parent e88eebf commit e6991e3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/splash/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,8 @@ const initNew = async (inst) => {
123123
skip_module_delta: {},
124124
skip_all_module_delta: false,
125125
skip_windows_arch_update: false,
126-
optin_windows_transition_progression: false
126+
optin_windows_transition_progression: false,
127+
allow_optional_updates: false
127128
};
128129

129130
while (true) {

0 commit comments

Comments
 (0)