Bin To Pkg [work]
Decision framework — when to migrate to pkg
name: Build PKG from Binary on: release: types: [created] jobs: build-pkg: runs-on: macos-latest steps: - uses: actions/checkout@v4 - name: Download binary from release run: | mkdir -p root/usr/local/bin curl -L -o root/usr/local/bin/mytool https://github.com/user/mytool/releases/latest/download/mytool chmod 755 root/usr/local/bin/mytool - name: Build PKG run: | pkgbuild --root root \ --identifier com.user.mytool \ --version $ github.event.release.tag_name \ --install-location / \ mytool.pkg - name: Upload PKG to Release uses: softprops/action-gh-release@v1 with: files: mytool.pkg bin to pkg
Converting a file (binary data) into a file (PlayStation package) is a common process in console homebrew and emulation, usually for installing classic games like PS1 or PS2 titles onto a jailbroken PS3 or PS4. Methods for Console Homebrew Decision framework — when to migrate to pkg