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 src/renderer/operations/launcher_config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Backend } from './backend';

type BooleanSetting = 'skip_launcher' | 'ignore_music' | 'enable_dev_tools';
type BooleanSetting = 'skip_launcher' | 'ignore_music' | 'enable_dev_tools' | 'unlock_menu_music';

const CONFIG_PATH = 'ultimate/hdr-config';

Expand Down
16 changes: 16 additions & 0 deletions src/renderer/routes/menus/options_menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,22 @@ export default class OptionsMenu extends AbstractMenu<{
)
}
/>
<FocusCheckbox
className="smaller-main-button"
onClick={async () => {
const enabled = await config.getBoolean('unlock_menu_music');
await config.setBoolean('unlock_menu_music', !enabled);
}}
checkStatus={async () => {
return config.getBoolean('unlock_menu_music');
}}
text={'Unlock Menu Music (!)\u00A0'}
onFocus={() =>
this.props.setInfo(
'WARNING: Potentially bannable operation!'
)
}
/>
{super.render()}
</div>
);
Expand Down
Loading
Loading