[
  {
    "path": ".github/workflows/run.yml",
    "content": "name: Run\n\non:\n  workflow_dispatch:\n    inputs:\n      deb:\n        description: \"Direct URL to deb file\"\n        required: true\n\njobs:\n  run:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Convert deb to IPA\n        run: |\n          curl -L -o ${{ github.workspace }}/app.deb \"${{ github.event.inputs.deb }}\"\n          dpkg-deb -X ${{ github.workspace }}/app.deb ${{ github.workspace }}/app\n\n          mkdir -p ${{ github.workspace }}/ipa/Payload\n          cp -R ${{ github.workspace }}/app/Applications/* ${{ github.workspace }}/ipa/Payload\n          \n          cd ${{ github.workspace }}/ipa\n          zip -r ${{ github.workspace }}/App.ipa .\n\n      - name: Upload IPA\n        uses: actions/upload-artifact@v4\n        with:\n          name: App\n          path: ${{ github.workspace }}/App.ipa\n"
  },
  {
    "path": "LICENSE",
    "content": "BSD 3-Clause License\n\nCopyright (c) 2022, Nebula\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are met:\n\n1. Redistributions of source code must retain the above copyright notice, this\n   list of conditions and the following disclaimer.\n\n2. Redistributions in binary form must reproduce the above copyright notice,\n   this list of conditions and the following disclaimer in the documentation\n   and/or other materials provided with the distribution.\n\n3. Neither the name of the copyright holder nor the names of its\n   contributors may be used to endorse or promote products derived from\n   this software without specific prior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\nAND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\nDISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\nFOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\nDAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\nSERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\nCAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\nOR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\nOF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n"
  },
  {
    "path": "README.md",
    "content": "# Deb to IPA\n\n▶️ Convert an application from a deb to an IPA with a GitHub workflow.\n\n---\n\n# How to use\n\n* Click fork on the top right, then click create fork\n   * A GitHub account is required, it's free!\n> ![image](https://user-images.githubusercontent.com/18669106/180668388-fea832be-dd8d-4387-bb00-64637ec8c4a5.png)\\\n> ![image](https://user-images.githubusercontent.com/18669106/180667994-4f5e257d-a701-43a3-9613-f860c3990f44.png)\n\n* If you have made a fork before, click fetch upstream then fetch and merge\n   * This should be done every time you want to convert a deb\n> ![image](https://user-images.githubusercontent.com/18669106/180668039-895bf508-34ba-4f68-84c2-9dd86b068efa.png)\n\n* Click Actions on the top, then enable actions\n> ![image](https://user-images.githubusercontent.com/18669106/180668059-cbfb4099-e40c-4828-b505-1532c6ae326f.png)\n\n* Click run script on the left, then click run workflow on the right\n> ![image](https://user-images.githubusercontent.com/18669106/180668091-29077082-8738-4b00-85a2-93b24c97b1b4.png)\n\n* Paste in the **direct** URL to a deb file in the box, then press run workflow\n   * Like [this](https://github.com/D0m0/CocoaTop/releases/download/2.2.3/ru.domo.cocoatop64_2.2.3_iphoneos-arm.deb), for example\n> ![image](https://user-images.githubusercontent.com/18669106/180668191-318d1098-fa80-4e34-ab69-94e02df56975.png)\n\n* Wait for the workflow to be finished, then click on it\n> ![image](https://user-images.githubusercontent.com/18669106/180668274-44ec62d7-0be2-47c7-a8ac-ed19fb5e4c5f.png)\n\n* Download the artifact, unzip it, and send the IPA file to your iDevice!\n   * Airdropping the file is probably the easiest, but you can use something like Dropbox or Mega.\n> ![image](https://user-images.githubusercontent.com/18669106/180668328-12083245-2ef8-43e1-8622-42acbe6dc33c.png)\n\n# License\n\nDeb to IPA is licensed under the BSD-3-Clause license, and can be found [here](https://github.com/itsnebulalol/deb-to-ipa/blob/main/LICENSE).\n"
  }
]