Created
December 25, 2023 01:09
-
-
Save loloof64/1542d499f5ed8a5e4b52f46c32455690 to your computer and use it in GitHub Desktop.
Fichiers complémentaires du tutoriel vidéo sur la création d'AppImage
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# appimage-builder recipe see https://appimage-builder.readthedocs.io for details | |
version: 1 | |
script: | |
- rm -rf AppDir || true | |
- cp -r build/linux/x64/release/bundle AppDir | |
- mkdir -p AppDir/usr/share/icons/hicolor/512x512/apps/ | |
- cp light.png AppDir/usr/share/icons/hicolor/512x512/apps/ | |
AppDir: | |
path: ./AppDir | |
app_info: | |
id: com.loloof64.light-them-all | |
name: LightThemAll | |
icon: light | |
version: 1.0.0 | |
exec: light_them_all | |
exec_args: $@ | |
apt: | |
arch: amd64 | |
allow_unauthenticated: true | |
sources: | |
- sourceline: deb http://archive.ubuntu.com/ubuntu/ xenial main restricted universe multiverse | |
- sourceline: deb http://archive.ubuntu.com/ubuntu/ xenial-updates main restricted universe multiverse | |
- sourceline: deb http://archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse | |
- sourceline: deb http://security.ubuntu.com/ubuntu xenial-security main restricted universe multiverse | |
include: | |
- libgtk-3-0 | |
exclude: | |
- humanity-icon-theme | |
- hicolor-icon-theme | |
- adwaita-icon-theme | |
- ubuntu-mono | |
files: | |
exclude: | |
- usr/share/man | |
- usr/share/doc/*/README.* | |
- usr/share/doc/*/changelog.* | |
- usr/share/doc/*/NEWS.* | |
- usr/share/doc/*/TODO.* | |
runtime: | |
env: | |
GDK_BACKEND: x11 | |
AppImage: | |
arch: x86_64 | |
update-information: guess | |
sign-key: None |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Desktop Entry] | |
X-AppImage-Arch=x86_64 | |
X-AppImage-Version=25cf743 | |
X-AppImage-Name=LightThemAll | |
Name=LightThemAll | |
Exec=light_them_all | |
Icon=light | |
Type=Application | |
Terminal=false | |
Categories=Utility; | |
Comment= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Building for Linux | |
# Image with Flutter and AppImage Builder set. | |
# Don't forget to mount current project's folder when running. | |
# Setup Ubuntu | |
FROM appimagecrafters/appimage-builder:latest | |
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections | |
RUN apt-get update | |
RUN apt-get install -y --no-install-recommends apt-utils | |
RUN apt-get install --yes bash curl wget file git unzip xz-utils zip libglu1-mesa build-essential cmake ninja-build clang libgtk-3-dev | |
# Setup user | |
RUN useradd -ms /bin/bash developer | |
USER developer | |
WORKDIR /home/developer | |
# Setup Flutter | |
RUN wget https://storage.googleapis.com/flutter_infra_release/releases/stable/linux/flutter_linux_3.16.3-stable.tar.xz | |
RUN tar xf flutter_linux_3.16.3-stable.tar.xz | |
RUN rm -rf flutter_linux_3.16.3-stable.tar.xz | |
ENV PATH=$PATH:/home/developer/flutter/bin | |
RUN flutter upgrade |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment