forked from Packaging/Station
fix stuff
This commit is contained in:
parent
e6798f44cf
commit
09d65ff192
@ -3,6 +3,7 @@
|
|||||||
mkdir out
|
mkdir out
|
||||||
mkdir -p appimage/NotePost.AppDir/usr/lib/notepost
|
mkdir -p appimage/NotePost.AppDir/usr/lib/notepost
|
||||||
rm -rf appimage/NotePost.AppDir/usr/lib/notepost
|
rm -rf appimage/NotePost.AppDir/usr/lib/notepost
|
||||||
|
mv "$1com.netsyms.NotePostApp" "$1notepost"
|
||||||
rsync -rv "$1" appimage/NotePost.AppDir/usr/lib/notepost
|
rsync -rv "$1" appimage/NotePost.AppDir/usr/lib/notepost
|
||||||
chmod +x appimage/NotePost.AppDir/AppRun
|
chmod +x appimage/NotePost.AppDir/AppRun
|
||||||
wget https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage -O appimagetool
|
wget https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage -O appimagetool
|
||||||
|
@ -6,6 +6,8 @@ dpkg-deb -R template.deb tmp
|
|||||||
sed -i '/Architecture:/d' tmp/DEBIAN/control
|
sed -i '/Architecture:/d' tmp/DEBIAN/control
|
||||||
echo "Architecture: $2" >> tmp/DEBIAN/control
|
echo "Architecture: $2" >> tmp/DEBIAN/control
|
||||||
rm -rf tmp/usr/lib/notepost
|
rm -rf tmp/usr/lib/notepost
|
||||||
|
mv "$1com.netsyms.NotePostApp" "$1notepost"
|
||||||
|
mkdir -p tmp/usr/lib
|
||||||
rsync -rv "$1" tmp/usr/lib/notepost
|
rsync -rv "$1" tmp/usr/lib/notepost
|
||||||
cp "$3" tmp/usr/lib/notepost/logo.svg
|
cp "$3" tmp/usr/lib/notepost/logo.svg
|
||||||
dpkg-deb -b tmp "out/notepost_$2.deb"
|
dpkg-deb -b tmp "out/notepost_$2.deb"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user