diff options
author | GeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com> | 2024-02-13 00:29:02 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-13 00:29:02 +0100 |
commit | 71e299192e462eef49bd950c79616232ebe1bcc3 (patch) | |
tree | 6df1a9763ab56ad2f12d21686f7ce9555f33540a /src-tauri/bindings | |
parent | 4c0826fd51bff9f3f11e7dc333044c7939b6ee9f (diff) | |
download | FlightCore-71e299192e462eef49bd950c79616232ebe1bcc3.tar.gz FlightCore-71e299192e462eef49bd950c79616232ebe1bcc3.zip |
refactor: Pass object to backend instead of individual args (#798)
Instead of passing individual args to `launch_northstar` in the backend, pass a single object.
The idea here being that said object can later easily be extended with more fields such as launch args for Northstar
Diffstat (limited to 'src-tauri/bindings')
-rw-r--r-- | src-tauri/bindings/NorthstarLaunchOptions.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src-tauri/bindings/NorthstarLaunchOptions.ts b/src-tauri/bindings/NorthstarLaunchOptions.ts new file mode 100644 index 00000000..e3af2d19 --- /dev/null +++ b/src-tauri/bindings/NorthstarLaunchOptions.ts @@ -0,0 +1,3 @@ +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. + +export interface NorthstarLaunchOptions { launch_via_steam: boolean, bypass_checks: boolean, }
\ No newline at end of file |