mirror of
https://github.com/cemu-project/cemu_graphic_packs.git
synced 2025-01-25 16:11:23 +01:00
Update "Source code" and build script to work with php7 (default on win10 linux subsystem ubuntu)
This commit is contained in:
parent
070bf8e649
commit
97b0d9ce27
@ -1,4 +1,4 @@
|
|||||||
<?
|
<?php
|
||||||
$width = $argv[1];
|
$width = $argv[1];
|
||||||
$height = $argv[2];
|
$height = $argv[2];
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<?
|
<?php
|
||||||
$fullWidth = $argv[1];
|
$fullWidth = $argv[1];
|
||||||
$fullHeight = $argv[2];
|
$fullHeight = $argv[2];
|
||||||
$halfWidth = $fullWidth / 2;
|
$halfWidth = $fullWidth / 2;
|
||||||
|
2
build.sh
2
build.sh
@ -29,7 +29,7 @@ build_dir () {
|
|||||||
filename=`basename $f`
|
filename=`basename $f`
|
||||||
outName="$dstDir/$filename"
|
outName="$dstDir/$filename"
|
||||||
echo "Building $f to $outName with params ${rest[@]}"
|
echo "Building $f to $outName with params ${rest[@]}"
|
||||||
php5 "$f" ${rest[*]} > "$outName"
|
php "$f" ${rest[*]} > "$outName"
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
rm "$outName"
|
rm "$outName"
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user