diff --git a/linux/build.sh b/linux/build.sh index 50f1fa5..ff6c188 100755 --- a/linux/build.sh +++ b/linux/build.sh @@ -327,9 +327,11 @@ cp -r ultraschall-theme/osFiles/Linux/ProjectTemplates ultraschall-theme rm -rf ultraschall-theme/osFiles # patch color to fix the storyboard view +echo "Patching Theme..." sed -i 's/col_main_text=.*/col_main_text=15790320/g' ultraschall-theme/ColorThemes/Ultraschall_5.ReaperTheme # create libSwell config file (Linux only) and adjust menu settings +echo "Creating libSwell colortheme file..." cat << EOF > ultraschall-theme/libSwell.colortheme menubar_height 28 menubar_font_size 15 @@ -344,6 +346,13 @@ 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 +echo "Patching reaper-menu.ini..." +sed -r -i 's/(item_[0-9]*=-[0-9]* )(.*) (1. Setup$)/\1\3/g' $ULTRASCHALL_INSTALLER_DIR/themes/reaper-menu.ini +sed -r -i 's/(item_[0-9]*=-[0-9]* )(.*) (2. Recording$)/\1\3/g' $ULTRASCHALL_INSTALLER_DIR/themes/reaper-menu.ini +sed -r -i 's/(item_[0-9]*=-[0-9]* )(.*) (3. Production$)/\1\3/g' $ULTRASCHALL_INSTALLER_DIR/themes/reaper-menu.ini +sed -r -i 's/(item_[0-9]*=-[0-9]* )(.*) (Miscellaneous$)/\1\3/g' $ULTRASCHALL_INSTALLER_DIR/themes/reaper-menu.ini + # create a tar file pushd ultraschall-theme > /dev/null || exit tar cvf "../$ULTRASCHALL_INSTALLER_DIR/themes/ultraschall-theme.tar" ./* > /dev/null