Skip to content

Commit

Permalink
help: add a reference sheet for the game's default keyboard binds (#569)
Browse files Browse the repository at this point in the history
  • Loading branch information
xTVaser authored Sep 22, 2024
1 parent 105ea35 commit 8429b89
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
Binary file added docs/default-keybinds.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/assets/translations/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@
"header_updateAvailable": "Update Available!",
"help_button_downloadPackage": "Download Support Package",
"help_button_openLogFolder": "Open Log Folder",
"help_button_defaultKeybinds": "Default Keybinds",
"help_button_reportGameIssue": "Report Game Issue",
"help_button_reportLauncherIssue": "Report Launcher Issue",
"help_description_createAnIssue": "You can either ask a question on our Discord, or create a GitHub issue with as much detail as possible.",
Expand Down
7 changes: 7 additions & 0 deletions src/routes/Help.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import { onMount } from "svelte";
import { appConfigDir } from "@tauri-apps/api/path";
import { _ } from "svelte-i18n";
import { navigate } from "svelte-navigator";
let appDir: string | undefined = undefined;
let downloadingPackage = false;
Expand Down Expand Up @@ -46,6 +47,12 @@
}}>{$_("help_button_openLogFolder")}</Button
>
{/if}
<Button
class="flex items-center border-solid rounded bg-white hover:bg-orange-400 text-sm text-slate-900 font-semibold px-4 py-2"
href="https://raw.githubusercontent.com/open-goal/launcher/refs/heads/main/docs/default-keybinds.png"
target="_blank"
rel="noreferrer noopener">{$_("help_button_defaultKeybinds")}</Button
>
</div>
<p class="mt-3 text-sm">
{$_("help_description_createAnIssue")}
Expand Down

0 comments on commit 8429b89

Please sign in to comment.