generated from Pokemon-via-GitHub-contre-Covid-2020-fr/meta
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
2 changed files
with
17 additions
and
3 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,18 @@ | ||
#!/usr/bin/env bash | ||
# | ||
# Script bash pour appeler (si disponible) "zenity --entry" pour éditer le message de commit. | ||
# | ||
# Ces deux lignes vides sont là pour faire un joli message de commit, comme cela : | ||
# | ||
# DONE lilian termine, auto commit avec 'make commit_done' | ||
# | ||
# J'ai entraîné l'équipe, battu le rival, et on est dans l'arène de Pierre | ||
|
||
echo -e "\n\n" | ||
zenity --entry \ | ||
|
||
type zenity && { zenity --entry \ | ||
--timeout=60 --width=640 --height=440 \ | ||
--title="Pokémon via GitHub contre Covid-19" \ | ||
--entry-text="J'ai capturé tel Pokémon, j'ai battu tel dresseur, j'ai découvert tel endroit..." \ | ||
--text="Raconte ta session de jeu en quelques lignes maximum :" | ||
--text="Raconte ta session de jeu en quelques lignes maximum :" \ | ||
; } || echo "Zenity pas trouvé. Regarde https://github.com/Pokemon-via-GitHub-contre-Covid-2020-fr/Version-Jaune/issues/14 ?" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,10 @@ | ||
#!/usr/bin/env bash | ||
# | ||
# Script bash pour appeler (si disponible) "zenity --question" pour valider le commit. | ||
# | ||
|
||
zenity --question \ | ||
type zenity && { zenity --question \ | ||
--timeout=60 --width=640 --height=440 \ | ||
--title="Pokémon via GitHub contre Covid-19" \ | ||
--text="$(echo -e "Voulez-vous vraiment commiter votre sauvegarde ?\n\n$(ls -larth Pokemon_Yellow_FRENCH_GBC-HS.sav)")" | ||
; } || echo "Zenity pas trouvé. Regarde https://github.com/Pokemon-via-GitHub-contre-Covid-2020-fr/Version-Jaune/issues/14 ?" |