Publish Vulpes Preview 15 sources for desktop, Android and Tundra

Share Gaia assets and adapters, keep private profiles and development documents local, and update both public READMEs.
This commit is contained in:
OverSu 2026-09-30 23:13:03 +02:00
commit b38dea0597
25901 changed files with 9982925 additions and 369 deletions

View file

@ -0,0 +1,48 @@
#!/bin/bash
#####################################################
#
# Run this file to pull JSZhuyin from upstream.
# Should be replaced once Gaia got |repo| power.
#
# The upstream code is hosted at
# https://github.com/timdream/jszhuyin
#
#####################################################
cd `dirname $0`
if [ -z $JSZHUYIN_DIR ]; then
echo 'Error: Please specify JSZHUYIN_DIR.'
exit
fi
if [ ! -d $JSZHUYIN_DIR/lib ]; then
echo 'Error: JSZhuyin file not found.'
exit
fi
if [ ! -d $JSZHUYIN_DIR/data ]; then
echo 'Error: No JSZhuyin data. Did you run make to generate the database there?'
exit
fi
echo 'Copying JSZhuyin code and data to Gaia ...'
# Remove all files
rm -rf ./lib ./data
# Copy only necessary files
mkdir lib data
cp $JSZHUYIN_DIR/lib/bopomofo_encoder.js ./lib/
cp $JSZHUYIN_DIR/lib/jszhuyin.js ./lib/
cp $JSZHUYIN_DIR/lib/storage.js ./lib/
cp $JSZHUYIN_DIR/lib/data_loader.js ./lib/
cp $JSZHUYIN_DIR/lib/jszhuyin_data_pack.js ./lib/
cp $JSZHUYIN_DIR/lib/jszhuyin_server.js ./lib/
cp $JSZHUYIN_DIR/lib/worker.js ./lib/
cp $JSZHUYIN_DIR/data/data-commit-hash ./data/
cp $JSZHUYIN_DIR/data/database.data ./data/
echo 'Done.'