Skip to content

Commit

Permalink
Fix failing to launch on missing arg
Browse files Browse the repository at this point in the history
  • Loading branch information
NotThorny committed Nov 25, 2023
1 parent 38b2ef2 commit bd3559d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/ui/Main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,9 @@ export class Main extends React.Component<IProps, IState> {
const updatedConfig = await getConfigOption('patch_rsa')
await setConfigOption('patch_rsa', updatedConfig)

// Update launch args to allow launching when updating from old versions
await setConfigOption('launch_args', await getConfigOption('launch_args'))

if (!(await getConfigOption('offline_mode'))) {
// Get latest version and compare to this version
const latestVersion: {
Expand Down

0 comments on commit bd3559d

Please sign in to comment.