Skip to content

Commit

Permalink
Added ability for BleemSync to run on boot by compiling for linux-arm
Browse files Browse the repository at this point in the history
  • Loading branch information
pathartl committed Dec 16, 2018
1 parent 2d7012a commit a32c2c4
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,4 @@ msbuild.wrn
.vs/
BleemSync-*.zip
Publish/
BleemSync.Payload/System/BleemSync/
8 changes: 8 additions & 0 deletions BleemSync.Payload/lolhack/boot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

killall -s KILL sonyapp showLogo ui_menu

if [ -f /media/System/BleemSync/BleemSync ]
then
cd /media/System/BleemSync
chmod +x BleemSync
./BleemSync
cd -
fi

# Extract system files to avoid crashing
mkdir -p /media/System/Bios
mkdir -p /media/System/Preferences
Expand Down
8 changes: 7 additions & 1 deletion package-build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,19 @@ $version = "0.3.2"
# Must run the following as admin if you want to build and compress
# Install-Module 7Zip4PowerShell -Force -Verbose

rm -Recurse -Force .\BleemSync.Payload\System\BleemSync
mkdir .\BleemSync.Payload\System\BleemSync

dotnet publish -c release -r linux-arm
cp .\BleemSync\bin\Release\netcoreapp2.1\linux-arm\publish\* .\BleemSync.Payload\System\BleemSync

dotnet publish -c release -r linux-x64
rm -Recurse -Force .\Publish
mkdir .\Publish
mkdir .\Publish\BleemSync
cp .\BleemSync\bin\Release\netcoreapp2.1\linux-x64\publish\* .\Publish\BleemSync
cp -Recurse .\BleemSync.Payload\* .\Publish
Compress-7Zip "Publish\*" -ArchiveFileName BleemSync-$version-linux-x64.zip -Format Zip
Compress-7Zip "Publish\*" -Verbose -ArchiveFileName BleemSync-$version-linux-x64.zip -Format Zip

dotnet publish -c release -r osx-x64
rm -Recurse -Force .\Publish
Expand Down

0 comments on commit a32c2c4

Please sign in to comment.