Skip to content

Commit

Permalink
linux: patch reaper-menu.ini to remove emojis
Browse files Browse the repository at this point in the history
Emojis can't be displayed in the Linux version of reaper.
  • Loading branch information
Udo Sauer committed Nov 1, 2024
1 parent 8ccf5ea commit 77c1741
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions linux/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,12 @@ menu_submenu_arrow #FDBC00
EOF
cp ultraschall-theme/libSwell.colortheme ultraschall-theme/libSwell-user.colortheme

# patch reaper-menu.ini and remove emojis that are not shown in linux
sed -r -i 's/(item_[0-9]*=-[0-9]* )(.*) (1. Setup$)/\1\3/g' ultraschall-portable/reaper-menu.ini
sed -r -i 's/(item_[0-9]*=-[0-9]* )(.*) (2. Recording$)/\1\3/g' ultraschall-portable/reaper-menu.ini
sed -r -i 's/(item_[0-9]*=-[0-9]* )(.*) (3. Production$)/\1\3/g' ultraschall-portable/reaper-menu.ini
sed -r -i 's/(item_[0-9]*=-[0-9]* )(.*) (Miscellaneous$)/\1\3/g' ultraschall-portable/reaper-menu.ini

# create a tar file
pushd ultraschall-theme > /dev/null || exit
tar cvf "../$ULTRASCHALL_INSTALLER_DIR/themes/ultraschall-theme.tar" ./* > /dev/null
Expand Down

0 comments on commit 77c1741

Please sign in to comment.