Skip to content

Commit

Permalink
Forgot to actually use them lol
Browse files Browse the repository at this point in the history
  • Loading branch information
EliteAsian123 committed Aug 24, 2024
1 parent a2d9de4 commit b2622b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/profiles/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export const launch = async (activeProfile: ActiveProfile, profilePath: string):
customArguments = activeProfile.launchArguments.trim().split(" ");
}

let otherArguments: string[] = [];
const otherArguments: string[] = [];

if (launchOptions.offlineArgument !== undefined && useOfflineStatus.getState().isOffline) {
otherArguments.push(launchOptions.offlineArgument);
Expand All @@ -63,7 +63,7 @@ export const launch = async (activeProfile: ActiveProfile, profilePath: string):
await invoke("launch_profile", {
profilePath: profilePath,
execPath: launchOptions.executablePath,
arguments: [...launchOptions.arguments, ...customArguments]
arguments: [...launchOptions.arguments, ...otherArguments, ...customArguments]
});
} catch (e) {
showErrorDialog(e as string);
Expand Down

0 comments on commit b2622b8

Please sign in to comment.