Skip to content

Commit

Permalink
Add program info
Browse files Browse the repository at this point in the history
  • Loading branch information
Maingron committed Nov 19, 2022
1 parent 8543445 commit c9547c6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Open With Retroarch.bat
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
@echo off
@REM Author: Maingron
@REM Description: Open a game with Retroarch
@REM Website: https://maingron.com
@REM Dependencies: Retroarch (https://retroarch.com)


set "retroarch-exe=G:\SteamLibrary\steamapps\common\RetroArch\retroarch.exe"
set "rom-path=%~dp1"
set "rom-name=%~nx1"
set "rom-ext=%~x1"
title Open With Retroarch - %rom-name%

IF NOT DEFINED rom-ext (goto error-no_input_ext)
goto %rom-ext%
Expand Down

0 comments on commit c9547c6

Please sign in to comment.