mtpview/create_package.sh

20 lines
347 B
Bash
Raw Normal View History

#!/usr/bin/sh
2024-10-02 17:07:42 +02:00
#Making package dirs
mkdir -p pkg/apps
mkdir -p pkg/data/deskbar/menu/Applications
#Update binary
cp mtpview pkg/apps/mtpview
chmod +x pkg/apps/mtpview
#Make menu stortcut
pushd pkg/data/deskbar/menu/Applications
ln -s -r ../../../../apps/mtpview mtpview
popd
#Create package
pushd pkg
package create -C ./ ../mtpview.hpkg
popd