mirror of
https://github.com/4ian/GDevelop.git
synced 2025-10-15 10:19:04 +00:00
Updated scripts for linux packaging
This commit is contained in:
@@ -1,12 +1,14 @@
|
||||
#!/bin/sh
|
||||
|
||||
echo 'Started the packaging process, using binaries in Binaries/Output/R'
|
||||
echo 'Started the packaging process, using binaries in Binaries/Output/Release_Linux'
|
||||
# Copy files from Release
|
||||
sudo cp ../Output/Release/* -R debian-package/opt/game-develop
|
||||
sudo mkdir -p debian-package/opt/game-develop
|
||||
sudo cp ../Output/Release_Linux/* -R debian-package/opt/game-develop
|
||||
|
||||
# Make some tasks to ensure that the package is correct.
|
||||
sudo chmod 0755 -R debian-package/opt/game-develop/*
|
||||
sudo chown -R root:root debian-package
|
||||
sudo chmod +x debian-package/usr/bin/game-develop
|
||||
cd debian-package
|
||||
sudo rm debian
|
||||
sudo ln -s DEBIAN/ debian
|
||||
@@ -18,3 +20,5 @@ fi;
|
||||
|
||||
#Build it.
|
||||
dpkg -b debian-package ../Releases/game-develop_3.x.xx_amd64.deb
|
||||
|
||||
echo 'Done. Package should be at Binaries/Releases/game-develop_3.x.xx_amd64.deb'
|
||||
|
@@ -1,3 +1,12 @@
|
||||
dh_fixperms
|
||||
dh_fixperms
|
||||
dh_fixperms
|
||||
dh_fixperms
|
||||
dh_fixperms
|
||||
dh_fixperms
|
||||
dh_fixperms
|
||||
dh_fixperms
|
||||
dh_fixperms
|
||||
dh_fixperms
|
||||
dh_fixperms
|
||||
dh_fixperms
|
||||
|
0
Binaries/Packaging/debian-package/usr/bin/game-develop
Normal file → Executable file
0
Binaries/Packaging/debian-package/usr/bin/game-develop
Normal file → Executable file
@@ -3,7 +3,7 @@
|
||||
DIRECTORY="../Binaries/.build"
|
||||
if [ ! -d "../Binaries/.build" ]; then
|
||||
DIRECTORY="../Binaries/build"
|
||||
fi
|
||||
fi
|
||||
if [ -d "$DIRECTORY" ]; then
|
||||
cd "$DIRECTORY"
|
||||
if [ -f "build.ninha" ]; then
|
||||
@@ -15,11 +15,11 @@ if [ -d "$DIRECTORY" ]; then
|
||||
else
|
||||
echo "Unable to find your build directory, just make sure that GD is compiled in Release_Linux"
|
||||
fi
|
||||
cd ../../IDE/scripts/
|
||||
sh ./UpdateHeadersAndPCHRelease.sh
|
||||
cd ../../GDCpp/scripts/
|
||||
sh ./CopyHeadersToGD.sh
|
||||
cd ../../scripts
|
||||
sh CopyWindowsToLinuxReleaseFiles.sh
|
||||
cd ../GDJS/scripts/
|
||||
sh ./CopyRuntimeToGD.sh
|
||||
cd ../../Binaries/Packaging
|
||||
sh ./PackageForUbuntu.sh
|
||||
sh ./PackageForUbuntu.sh
|
||||
|
Reference in New Issue
Block a user