Lyrics plugin for Synology Audio Station/DS Audio
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
506 B

#!/bin/bash
# Disable debug
sed -i.bak "s@^const.DEBUG.*;@const DEBUG = false;@" netease.php
# Generate the no Chinsese translation version
sed -i.bak "s@^const.NEED_TRANSLATION.*;@const NEED_TRANSLATION = false;@" netease.php
tar czf netease_org.aum netease.php INFO
# Generate the with Chinsese translation version
sed -i.bak "s@^const.NEED_TRANSLATION.*;@const NEED_TRANSLATION = true;@" netease.php
tar czf netease_trans.aum netease.php INFO
# Clean up
rm netease.php.bak
git checkout netease.php