Skip to content

Commit

Permalink
[2048-MotoMAGX]: Fix installation path in PEP-packages
Browse files Browse the repository at this point in the history
  • Loading branch information
EXL committed Oct 26, 2021
1 parent b34c974 commit 16bf053
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion 2048-MotoMAGX/pep/description.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ AddAppToMenu = 1
[InstallApp]
Name = 2048
Exec = EXECUTABLE_FILE
InstallPath = ../../mmc/mmca1/.Programs/2048-MotoMAGX/
InstallPath = INSTALL_PATH
AppLockable = 1
Author = EXL
Version = 1.0
Expand Down
5 changes: 4 additions & 1 deletion util/build_pep_z6_and_zn5_packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ function clean {
}

function create_pep {
cp pep/description.ini 2048-MotoMAGX/
sed -i "s/EXECUTABLE_FILE/2048/g" 2048-MotoMAGX/description.ini
cp ../image/icon/ic_launcher0.png 2048-MotoMAGX/app/icon_usr.png
cp ../image/icon/ic_launcher0.png 2048-MotoMAGX/icon_usr.png
Expand All @@ -24,6 +23,8 @@ function build_pep_Z6 {
make PLATFORM=EZX-Z6
mkdir -p 2048-MotoMAGX/app
cp 2048-MotoMAGX_Z6 2048-MotoMAGX/app/2048
cp pep/description.ini 2048-MotoMAGX/
sed -i "s/INSTALL_PATH/..\/..\/mmc\/mmca1\/.Games\/2048-MotoMAGX\//g" 2048-MotoMAGX/description.ini
create_pep
mv 2048-MotoMAGX.tar.gz "../2048_MotoMAGX_Z6_v1.0_$date.pep"
cd -
Expand All @@ -34,6 +35,8 @@ function build_pep_ZN5 {
make PLATFORM=EZX-ZN5
mkdir -p 2048-MotoMAGX/app
cp 2048-MotoMAGX_ZN5 2048-MotoMAGX/app/2048
cp pep/description.ini 2048-MotoMAGX/
sed -i "s/INSTALL_PATH/..\/..\/mmc\/mmca1\/.Programs\/2048-MotoMAGX\//g" 2048-MotoMAGX/description.ini
create_pep
mv 2048-MotoMAGX.tar.gz "../2048_MotoMAGX_ZN5_v1.0_$date.pep"
cd -
Expand Down

0 comments on commit 16bf053

Please sign in to comment.