Skip to content

Commit

Permalink
add miss
Browse files Browse the repository at this point in the history
  • Loading branch information
guangming wan committed Jun 4, 2019
1 parent 027df90 commit 4ad0542
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions package.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
#!/bin/bash

mkdir -p bin
find . -name ".DS_Store" -exec rm {} \;
rm -rf ipkg/home/
mkdir -p ipkg/home/retrofw/apps/gmenu2x/sections/media/
cp txtreader.lnk ipkg/home/retrofw/apps/gmenu2x/sections/media/txtreader.lnk
mkdir -p ipkg/home/retrofw/apps/qtxtReader/bin/
cp qtxtReader.dge ipkg/home/retrofw/apps/qtxtReader/bin/qtxtReader.dge
cp bin/qtxtReader ipkg/home/retrofw/apps/qtxtReader/bin/
cp background.png ipkg/home/retrofw/apps/qtxtReader/bin/
cp -R lib ipkg/home/retrofw/apps/qtxtReader/lib

cd ipkg

tar -czf control.tar.gz control
tar -czf data.tar.gz home
ar rv qtxtReader.ipk control.tar.gz data.tar.gz debian-binary

cd ..

mv ipkg/qtxtReader.ipk bin/
rm ipkg/control.tar.gz
rm ipkg/data.tar.gz
#rm ipkg/home/retrofw/apps/qtxtReader/qtxtReader.dge
#rm -R ipkg/home/retrofw/apps/qtxtReader/res

0 comments on commit 4ad0542

Please sign in to comment.