-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #86 from vcatafesta/main
seg 08 jan 2024 16:19:37 -04 Vilmar Catafesta ([email protected])
- Loading branch information
Showing
3 changed files
with
57 additions
and
8 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 |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
# Description: Big Store installing programs for BigLinux | ||
# | ||
# Created: 2022/11/01 | ||
# Altered: 2023/09/28 | ||
# Altered: 2024/05/08 | ||
# | ||
# Copyright (c) 2023-2023, Vilmar Catafesta <[email protected]> | ||
# 2022-2023, Bruno Gonçalves <www.biglinux.com.br> | ||
|
@@ -34,7 +34,7 @@ | |
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
|
||
APP="${0##*/}" | ||
_VERSION_="1.0.0-20230928" | ||
_VERSION_="1.0.0-20240108" | ||
LIBRARY=${LIBRARY:-'/usr/share/bigbashview/bcc/shell'} | ||
export BOOTLOG="/tmp/bigstore-$USER-$(date +"%d%m%Y").log" | ||
export LOGGER='/dev/tty8' | ||
|
@@ -52,7 +52,7 @@ | |
declare -g Pacotes_text=$"Pacotes" | ||
declare -g Pacotes_flatpak_text=$"Pacotes Flatpak" | ||
declare -g Pacotes_Snap_text=$"Pacotes Snap" | ||
declare -g Traducao_Online_text=$"Tradução da descrição dos pacotes online" | ||
declare -g Traducao_Online_text=$"Tradução online da descrição dos pacotes" | ||
declare -g Ativado_text=$"Ativado" | ||
declare -g Desativado_text=$"Desativado" | ||
declare -g Atualizacoes_text=$"Atualizações" | ||
|
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
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 |
---|---|---|
|
@@ -6,11 +6,11 @@ | |
# Description: Big Store installing programs for BigLinux | ||
# | ||
# Created: 2020/01/11 | ||
# Altered: 2023/10/11 | ||
# Altered: 2024/01/08 | ||
# | ||
# Copyright (c) 2023-2023, Vilmar Catafesta <[email protected]> | ||
# 2022-2023, Bruno Gonçalves <www.biglinux.com.br> | ||
# 2022-2023, Rafael Ruscher <[email protected]> | ||
# Copyright (c) 2023-2024, Vilmar Catafesta <[email protected]> | ||
# 2022-2024, Bruno Gonçalves <www.biglinux.com.br> | ||
# 2022-2024, Rafael Ruscher <[email protected]> | ||
# All rights reserved. | ||
# | ||
# Redistribution and use in source and binary forms, with or without | ||
|
@@ -34,7 +34,8 @@ | |
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
|
||
APP="${0##*/}" | ||
_VERSION_="1.0.0-20231011" | ||
_VERSION_="1.0.0-20240108" | ||
_UPDATED_="08/01/2024" | ||
export BOOTLOG="/tmp/bigstore-$USER-$(date +"%d%m%Y").log" | ||
export LOGGER='/dev/tty8' | ||
export TMP_FOLDER="/tmp/bigstore-$USER" | ||
|
@@ -44,6 +45,7 @@ | |
[[ -f "${LIBRARY}/bstrlib.sh" ]] && source "${LIBRARY}/bstrlib.sh" | ||
|
||
function sh_config { | ||
declare -g LOCAL_VERSION="1.0.0-20240108" | ||
#Translation | ||
export TEXTDOMAINDIR="/usr/share/locale" | ||
export TEXTDOMAIN=big-store | ||
|
@@ -68,6 +70,7 @@ | |
declare -g cSistema=$"Sistema" | ||
declare -g cXSistema=$"X-Sistema" | ||
declare -g cDesenvolvimento=$"Desenvolvimento" | ||
declare -g cSobre=$"Sobre" | ||
|
||
#variáveis públicas | ||
export appstream_search_category=0 | ||
|
@@ -313,6 +316,27 @@ | |
} | ||
export -f ICON_CATEGORY | ||
|
||
function ICON_ABOUT() { | ||
local category="$1" | ||
local classe="$2" | ||
local cname="$3" | ||
|
||
cat <<-EOF | ||
<div class="icon_background"> | ||
<div class="vertical_align_center"> | ||
<div class="icon"> | ||
<span class="category_font_icon"> | ||
<i class="$classe"></i> | ||
</span> | ||
</div> | ||
<div class="icon_text"> | ||
<div class="icon_text_vertical_align"> | ||
$cname | ||
</div></div></div></div></a> | ||
EOF | ||
} | ||
export -f ICON_ABOUT | ||
|
||
#Show category in first page | ||
############################ | ||
function sh_main { | ||
|
@@ -586,6 +610,21 @@ <h3 class="img-content"> | |
ICON_CATEGORY devbd "fas fa-database" $"Banco de dados" | ||
ICON_CATEGORY devwebserver "fas fa-server" $"Servidores WEB" | ||
|
||
#sex 05 jan 2024 12:19:03 -04 | ||
cat <<-EOF | ||
</div></div></div> | ||
<div id="sobre" class="category_box"> | ||
<div class="category_title_index"> | ||
$cSobre | ||
</div> | ||
<div class="category_index_list_center"> | ||
<div class="category_index_list"> | ||
EOF | ||
|
||
ICON_ABOUT deveditor "fas fa-file-code" "Aplicativo : $TEXTDOMAIN" | ||
ICON_ABOUT deveditor "fas fa-file-code" "Versão : $LOCAL_VERSION - $_UPDATED_" | ||
#sex 05 jan 2024 12:19:03 -04 | ||
|
||
cat <<-EOF | ||
</div> | ||
</div> | ||
|