diff options
Diffstat (limited to 'src-vue/src/plugins')
-rw-r--r-- | src-vue/src/plugins/store.ts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src-vue/src/plugins/store.ts b/src-vue/src/plugins/store.ts index fdf0ce66..32fe0195 100644 --- a/src-vue/src/plugins/store.ts +++ b/src-vue/src/plugins/store.ts @@ -134,6 +134,11 @@ export const store = createStore<FlightCoreStore>({ * It invokes all Rust methods that are needed to initialize UI. */ async function _initializeApp(state: any) { + // Enable dev mode directly if application is in debug mode + if (await invoke("is_debug_mode")) { + state.developer_mode = true; + } + const result = await invoke("find_game_install_location_caller") .catch((err) => { // Gamepath not found or other error |