Skip to content
GitLab
Explorer
Connexion
Navigation principale
Rechercher ou aller à…
Projet
lektor
Gestion
Activité
Membres
Labels
Programmation
Tickets
Tableaux des tickets
Jalons
Code
Requêtes de fusion
Dépôt
Branches
Validations
Étiquettes
Graphe du dépôt
Comparer les révisions
Compilation
Pipelines
Jobs
Planifications de pipeline
Artéfacts
Aide
Aide
Support
Documentation de GitLab
Comparer les forfaits GitLab
Forum de la communauté
Contribuer à GitLab
Donner votre avis
Raccourcis clavier
?
Extraits de code
Groupes
Projets
Afficher davantage de fils d'Ariane
Kubat
lektor
Validations
d9461d8b
Vérifiée
Valider
d9461d8b
rédigé
1 year ago
par
Kubat
Parcourir les fichiers
Options
Téléchargements
Correctifs
Plain Diff
BUILD: Try to finx the custom AppRun...
parent
e13d747e
Aucune branche associée trouvée
Aucune étiquette associée trouvée
1 requête de fusion
!197
Draft: Refactor the whole code.
Modifications
1
Masquer les modifications d'espaces
En ligne
Côte à côte
Affichage de
1 fichier modifié
utils/scripts/docker/package_appimages.bash
+11
-4
11 ajouts, 4 suppressions
utils/scripts/docker/package_appimages.bash
avec
11 ajouts
et
4 suppressions
utils/scripts/docker/package_appimages.bash
+
11
−
4
Voir le fichier @
d9461d8b
...
@@ -83,14 +83,21 @@ function deploy() {
...
@@ -83,14 +83,21 @@ function deploy() {
find
${
EXEC
^
}
/usr/lib/
-type
f
-and
\(
${
EXCLUDE_LIBS
}
\)
-delete
find
${
EXEC
^
}
/usr/lib/
-type
f
-and
\(
${
EXCLUDE_LIBS
}
\)
-delete
cp
LICENSE CHANGELOG.md CONTRIBUTING.md
${
EXEC
^
}
/
cp
LICENSE CHANGELOG.md CONTRIBUTING.md
${
EXEC
^
}
/
install
-Dm644
${
EXEC
}
/
${
EXEC
}
.appdata.xml
${
EXEC
^
}
/usr/share/metainfo/
${
EXEC
}
.appdata.xml
install
-Dm644
${
EXEC
}
/
${
EXEC
}
.appdata.xml
${
EXEC
^
}
/usr/share/metainfo/
${
EXEC
}
.appdata.xml
unlink
${
EXEC
^
}
/AppRun
\
&&
touch
${
EXEC
^
}
/AppRun
\
&&
chmod
+x
${
EXEC
^
}
/AppRun
cat
>
${
EXEC
^
}
/AppRun
<<
EOF
cat
>
${
EXEC
^
}
/AppRun
<<
EOF
#!/usr/bin/env bash
#!/usr/bin/env bash
set -e
set -e
this_dir="
\$
(readlink -f "
\$
(dirname "
\$
0")")"
this_dir="
\$
(readlink -f "
\$
(dirname "
\$
0")")"
for HOOK in "
\$
this_dir"/apprun-hooks/*; do
[ ! -n "
\$
(find "
\$
this_dir"/apprun-hooks/ -maxdepth 0 -type d -empty 2>/dev/null)" ]
\
source "
\$
HOOK"
&& [ -d "
\$
this_dir"/apprun-hooks/ ]
\
done
&& {
exec "
\$
this_dir"/AppRun.wrapped "
$@
"
for HOOK in "
\$
this_dir"/apprun-hooks/*; do
source "
\$
HOOK"
done
}
exec "
\$
this_dir/usr/bin/
${
EXEC
}
" "
$@
"
EOF
EOF
# Pack the AppImage
# Pack the AppImage
...
...
Ce diff est replié.
Cliquez pour l'agrandir.
Aperçu
0%
Chargement en cours
Veuillez réessayer
ou
joindre un nouveau fichier
.
Annuler
You are about to add
0
people
to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Enregistrer le commentaire
Annuler
Veuillez vous
inscrire
ou vous
se connecter
pour commenter