ivan-hc / ArchImage

Build AppImage packages for all distributions but including Arch Linux packages. Powered by JuNest.
GNU General Public License v3.0
106 stars 1 forks source link

Image Update #2

Closed xensurve closed 11 months ago

xensurve commented 11 months ago

Is there a way to update the arch appimage after packaging , Im looking to use all appimages instead of building and installing via aur and have portable apps to move from system to system

Also is there any way to create an appimage of a github application and update, that would be great to be able to build an appimage from a github repo

I think the main problem with appimages is the libfuse issue and updatable feature most devs dont add the update function which breaks the whole appimage eco system, some apps update most dont

do you think appimage is here to stay for the longterm ? Its a fantasitic idea, to able to use base linux system and then have a folder with all your apps that run without having to install apps and folders everywhere

ivan-hc commented 11 months ago

Have you never heard about:

?

These two are my main projects to install/remove/manage/update all the AppImages and portable linux apps available.

I have also a website to list all the apps managed https://portable-linux-apps.github.io , on Google Search "portable linux apps" is the first result.

Also, all the apps managed can be updated using the two tools above. AM installs all the apps in /opt (for privileged users), while AppMan is "AM" but that manages the apps into a directory you choice in your $HOME.

About updating these apps, I use Github Actions to create automatically all my AppImages, so they should be available also if I die.

The list of AppImages I maintain is available (with all my projects) at https://github.com/ivan-hc

ivan-hc commented 11 months ago

If you need a template to place in your repositories for Github Actions, use this:

name: Release SAMPLE Appimage
concurrency:
  group: build-${{ github.ref }}
  cancel-in-progress: true

on:
  schedule:
    - cron: "0 20 * * 6"
  workflow_dispatch:

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v3

    - name: build
      run: |
        sudo apt update
        sudo apt install libfuse2
        wget https://raw.githubusercontent.com/ivan-hc/SAMPLE-appimage/main/builder.sh
        chmod a+x ./builder.sh
        ./builder.sh
        mkdir dist
        mv *AppImage dist/
    - name: Upload artifact
      uses: actions/upload-artifact@v1.0.0
      with:
        name: SAMPLE-x86_64.AppImage
        path: 'dist'

  release:
      needs: [build]
      permissions: write-all
      runs-on: ubuntu-latest

      steps:
        - uses: actions/download-artifact@v1
          with:
            name: SAMPLE-x86_64.AppImage

        - name: release
          uses: marvinpinto/action-automatic-releases@latest
          with:
            title: Continuous build
            automatic_release_tag: continuous
            prerelease: false
            draft: false
            files: |
              SAMPLE-x86_64.AppImage
            repo_token: ${{ secrets.GITHUB_TOKEN }}

Replace "SAMPLE" with the name of the app, replace also the url to your file (builder.sh), optionally change

- cron: "0 20 * * 6"

with something else, this setting allow the autostart of GH Action at 20:00 UTC, on Saturday (by editing this file, Github will suggest all your modifications, if you replace 6 with 0-6 the GH Action will start every day at 20:00, with this settings)

xensurve commented 11 months ago

Thank you for the response and the template, its much appreciated

Keep up the great work !!