This file contains hidden or 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
| echo -e '#!/bin/sh\n\n# Variaveis globais\nROLLBACK_ENABLED=true\n\n# Funcoes basicas\nlog() { echo "[$1] $(date +%H:%M:%S) $2"; }\ndie() { log "ERR" "$1"; exit 1; }\n\n# Rollback simples\ncleanup() {\n [ $? -eq 0 ] && exit 0\n [ "$ROLLBACK_ENABLED" = false ] && exit 0\n \n log "INFO" "Executando rollback..."\n pkill -f fridaserver 2>/dev/null || true\n rm -f shizuku.apk haval.apk 2>/dev/null || true\n log "INFO" "Rollback concluido"\n}\ntrap cleanup EXIT\n\n# Funcoes de versao\nget_latest_release() {\n repo=${1#https://github.com/}; repo=${repo%.git}\n curl -s "https://api.github.com/repos/$repo/releases/latest" | grep browser_download_url | cut -d\\" -f4\n}\n\n# Download com verificacao\ndownload() {\n [ -f "$2" ] && [ -s "$2" ] && { log "INFO" "Arquivo $2 ja existe"; return; }\n log "INFO" "Baixando $3..."\n curl -L --progress-bar -o "$2" "$1" || die "Falha no download de $2"\n [ -f "$2" ] && [ -s "$2" ] || die "Arquivo $2 vazio/inexistente"\n}\n\n# Instalacao de apli |
This file contains hidden or 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
| export default class Practice extends Component { | |
| static defaultProps = { | |
| selected: '', | |
| onSelectEmoji: () => {} | |
| }; | |
| render() { | |
| return ( | |
| <Card style={styles.card}> | |
| <Card.Body> |