Skip to content

Commit

Permalink
Merge pull request #78 from vcatafesta/main
Browse files Browse the repository at this point in the history
seg 02 out 2023 09:57:12 -04 Vilmar Catafesta ([email protected])
  • Loading branch information
ruscher authored Oct 2, 2023
2 parents 19e0683 + c50c9fa commit 78988e9
Show file tree
Hide file tree
Showing 59,778 changed files with 191 additions and 88,474 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ function sh_big_store_start_sh_main {
}

# reformat pretry .ini
[[ -e "$INI_FILE_BIG_STORE" ]] && tini_pretty "$INI_FILE_BIG_STORE"
[[ -e "$INI_FILE_BIG_STORE" ]] && big-tini-pretty -q "$INI_FILE_BIG_STORE"
# [[ -e "$INI_FILE_BIG_STORE" ]] && TIni.AlignIniFile "$INI_FILE_BIG_STORE"

if TIni.Exist "$INI_FILE_BIG_STORE" "snap" "snap_active" '1' && [[ -e "/usr/lib/libpamac-snap.so" ]]; then
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ function sh_config {
declare -g Programas_AUR=$"Programas AUR"
declare -g Programas_Flatpak=$"Programas Flatpak"
declare -g Programas_Nativos=$"Programas Nativos"
CATEGORIES["browser"]="firefox firefox-i18n-$lcode brave-browser opera vivaldi chromium falkon palemoon-bin epiphany google-chrome microsoft-edge-stable-bin lynx"
CATEGORIES["browser"]="firefox firefox-i18n-$lcode brave-browser opera vivaldi chromium falkon palemoon-bin librewolf-bin epiphany google-chrome microsoft-edge-stable-bin lynx"
CATEGORIES["mail"]="thunderbird thunderbird-i18n-$lcode evolution geary kmail kube balsa claws-mail sylpheed trojita mailspring"
CATEGORIES["download"]="kget gwget uget steadyflow jdownloader2 clipgrab youtubedl-gui xdman flareget"
CATEGORIES["torrent"]="qbittorrent torrential deluge-gtk ktorrent fragments transmission-qt amule tixati frostwire"
Expand Down
73 changes: 64 additions & 9 deletions big-store/usr/share/bigbashview/bcc/apps/big-store/config.sh.htm
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# Description: Big Store installing programs for BigLinux
#
# Created: 2022/11/01
# Altered: 2023/09/25
# Altered: 2023/09/28
#
# Copyright (c) 2023-2023, Vilmar Catafesta <[email protected]>
# 2022-2023, Bruno Gonçalves <www.biglinux.com.br>
Expand Down Expand Up @@ -34,7 +34,7 @@
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

APP="${0##*/}"
_VERSION_="1.0.0-20230925"
_VERSION_="1.0.0-20230928"
LIBRARY=${LIBRARY:-'/usr/share/bigbashview/bcc/shell'}
export BOOTLOG="/tmp/bigstore-$USER-$(date +"%d%m%Y").log"
export LOGGER='/dev/tty8'
Expand All @@ -52,6 +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 Ativado_text=$"Ativado"
declare -g Desativado_text=$"Desativado"
declare -g Atualizacoes_text=$"Atualizações"
Expand Down Expand Up @@ -99,7 +100,7 @@
if ! sh_package_is_installed "$pkg_name"; then
sh_run_pamac_installer "$pkg_name" 'apparmor' 'snapd'
fi
# sh_run_action "enable_snapd"
# sh_run_action "enable_snapd"
sh_run_action_standalone "sh_enable_snapd_and_apparmor"
TIni.Set "$INI_FILE_BIG_STORE" "snap" "snap_active" '1'
kdialog --title $"Big-Store" --msgbox "$MsgSnap\n\n$(systemctl status apparmor --lines=0)\n\n$(systemctl status snapd.apparmor --lines=0)\n\n$(systemctl status snapd --lines=0)"
Expand All @@ -122,7 +123,7 @@
if [[ "$pkg_name" = "libpamac-snap-plugin" ]]; then
TIni.Set "$INI_FILE_BIG_STORE" "snap" "snap_active" '0'
fi
# sh_run_pamac_remove $pkg_name
# sh_run_pamac_remove $pkg_name
pacman -Qu | cut -f1 -d" " >>"$tmp_file_upgradeable"
fi

Expand All @@ -135,6 +136,8 @@
[[ "$system_upgradetotal" = "y" ]] && sh_run_action "system_upgradetotal" "$WINDOW_ID" "$PACKAGE_NAME" "$PACKAGE_ID" "$REPOSITORY" "$DRIVER"
[[ "$update_flatpak" = "y" ]] && sh_run_action "update_flatpak" "$WINDOW_ID" "$PACKAGE_NAME" "$PACKAGE_ID" "$REPOSITORY" "$DRIVER"
[[ "$update_snap" = "y" ]] && sh_run_action "update_snap" "$WINDOW_ID" "$PACKAGE_NAME" "$PACKAGE_ID" "$REPOSITORY" "$DRIVER"
[[ "$update_traducao" = "y" ]] && TIni.Set "$INI_FILE_BIG_STORE" "bigstore" "traducao_online" '1'
[[ "$update_traducao" = "n" ]] && TIni.Set "$INI_FILE_BIG_STORE" "bigstore" "traducao_online" '0'

cat <<-EOF
<div id=box_index_category>
Expand All @@ -148,15 +151,18 @@
$Pacotes_text
</div>
<ul>
EOF

#FLATPAK
cat <<-EOF
<li class="hidemenu">
<div class="products"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 400" style="border-radius: 0px;">
<div class="products">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 400" style="border-radius: 0px;">
<path fill="currentColor" d="m 200,5.9523902 c -8.98514,0 -17.97169,2.3280645 -26.03677,6.9844298 L 51.016633,83.920269 C 34.886486,93.233022 24.979868,110.38745 24.979868,129.01293 v 141.97046 c 0,18.62546 9.906618,35.77989 26.036765,45.09264 l 122.946597,70.98701 c 16.13013,9.31276 35.9434,9.31276 52.07354,0 l 122.94659,-70.98701 c 16.13016,-9.31275 26.03677,-26.46718 26.03677,-45.09264 V 129.01293 c 0,-18.62548 -9.90661,-35.779908 -26.03677,-45.092661 L 226.03677,12.93682 C 217.9717,8.2804547 208.98514,5.9523902 200,5.9523902 Z m 0,38.1331378 c 2.41371,0 4.82858,0.621233 6.97729,1.861803 l 122.94663,70.983449 c 2.14873,1.24057 3.89441,3.02162 5.10127,5.11195 L 200,199.99993 v 155.91086 c -2.41371,0 -4.82859,-0.62123 -6.97731,-1.86182 L 70.07608,283.06553 c -4.297468,-2.48115 -6.977319,-7.11987 -6.977319,-12.08214 V 129.01293 c 0,-2.48114 0.669184,-4.87986 1.876048,-6.9702 L 200,199.99993 Z">
</path></svg>
$Pacotes_flatpak_text
</div>
EOF

#FLATPAK
if TIni.Exist "$INI_FILE_BIG_STORE" "flatpak" "flatpak_active" '1' && [[ -e "/usr/lib/libpamac-flatpak.so" ]]; then
cat <<-EOF
<span class="status"><span class="status-circle true"></span>
Expand All @@ -182,6 +188,9 @@
</div>
EOF
fi
#FLATPAK

#SNAP
cat <<-EOF
</li>
<li class="any-product">
Expand All @@ -192,8 +201,6 @@
$Pacotes_Snap_text
</div>
EOF

#SNAP
if TIni.Exist "$INI_FILE_BIG_STORE" "snap" "snap_active" '1' && [[ -e "/usr/lib/libpamac-snap.so" ]]; then
cat <<-EOF
<span class="status"><span class="status-circle true"></span>
Expand All @@ -219,6 +226,54 @@
</div>
EOF
fi
#SNAP

#TRADUCAO BEGIN
cat <<-EOF
</li>
<li class="any-product">
<div class="products">
<img src="icons/translate.svg" fill="white" alt="$Traducao_online_text SVG" width="40.000000pt" height="40.000000pt" viewBox="0 0 24 24" style="border-radius: 0px;">
$Traducao_Online_text
</div>
EOF
if TIni.Exist "$INI_FILE_BIG_STORE" "bigstore" "traducao_online" '1'; then
cat <<-EOF
<span class="status"><span class="status-circle true"></span>
$Ativado_text
</span>
<div class="button-wrapper">
<div class="switch"><label for="t1">
<input
id="t1"
type="checkbox"
class="switch"
checked
onclick="location.href='config.sh.htm?update_traducao=n';"
>
<span class="lever"></span></label>
</div>
</div>
EOF
else
cat <<-EOF
<span class="status"><span class="status-circle false"></span>
$Desativado_text
</span>
<div class="button-wrapper">
<div class="switch"><label for="t1">
<input
id="t1"
type="checkbox"
class="switch"
onclick="location.href='config.sh.htm?update_traducao=y';"
>
<span class="lever"></span></label>
</div>
</div>
EOF
fi
#TRADUCAO END

cat <<-EOF
</li></ul></div>
Expand Down
Binary file not shown.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 78988e9

Please sign in to comment.