Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image Update #2

Closed
xensurve opened this issue Jul 20, 2023 · 3 comments
Closed

Image Update #2

xensurve opened this issue Jul 20, 2023 · 3 comments

Comments

@xensurve
Copy link

xensurve commented Jul 20, 2023

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
Copy link
Owner

ivan-hc commented Jul 20, 2023

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
Copy link
Owner

ivan-hc commented Jul 20, 2023

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
Copy link
Author

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

Keep up the great work !!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants