Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ export default function Home() {
}
stopLoading("launch");
setCurrentSession(undefined);
if (config!.launcher.launch_behavior == "hide") {
if (config!.launcher.launch_behavior != "stay_open") {
await getCurrentWindow().hide();
}
const exitCode: number = await invoke("do_launch");
Expand Down
17 changes: 17 additions & 0 deletions app/settings/LauncherSettingsTab.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,23 @@ export default function LauncherSettingsTab({
}))
}
/>
<SettingControlDropdown
id="proxy_asset_downloads"
name="Proxy asset downloads over HTTPS"
options={[
{ key: "yes", value: true, label: "Yes" },
{ key: "no", value: false, label: "No" },
]}
defaultKey="yes"
oldValue={currentSettings.proxy_asset_downloads}
value={settings.proxy_asset_downloads}
onChange={(value) =>
setSettings((current) => ({
...current!,
proxy_asset_downloads: value,
}))
}
/>
<SettingControlDropdown
id="use_offline_caches"
name="Use offline caches when downloaded"
Expand Down
1 change: 1 addition & 0 deletions app/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ export type LauncherSettings = {
launch_behavior: string;
game_cache_path: string;
offline_cache_path: string;
proxy_asset_downloads: boolean;
theme?: string;
};

Expand Down
3 changes: 2 additions & 1 deletion resources/defaults/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"check_for_updates": true,
"use_offline_caches": true,
"verify_offline_caches": false,
"launch_behavior": "hide"
"launch_behavior": "hide",
"proxy_asset_downloads": true
},
"game": {
"graphics_api": "dx9",
Expand Down
Loading
Loading