-
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.
- Loading branch information
Your Name
committed
Apr 20, 2024
1 parent
85a2cdd
commit d26d515
Showing
9 changed files
with
133 additions
and
7 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 +1,5 @@ | ||
hugo.exe | ||
# if you develope on windows and dont want to upload this one | ||
hugo.exe | ||
|
||
# no need to upload as github actions will generate it | ||
public/ |
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 |
---|---|---|
@@ -0,0 +1,32 @@ | ||
#!/bin/bash | ||
|
||
# Function to prompt the user with a yes/no question | ||
prompt_yes_no() { | ||
while true; do | ||
read -p "$1 [y/n]: " yn | ||
case $yn in | ||
[Yy]* ) return 0;; # User answered Yes, return 0 | ||
[Nn]* ) return 1;; # User answered No, return 1 | ||
* ) echo "Please answer yes or no.";; | ||
esac | ||
done | ||
} | ||
|
||
# Explain the risks to the user | ||
echo "Installing Flatpak applications can introduce new software dependencies and potential security risks." | ||
echo "Do you want to proceed with the installation?" | ||
|
||
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo | ||
|
||
|
||
# Prompt the user if they want to proceed | ||
if prompt_yes_no; then | ||
# User agreed, proceed with installations | ||
flatpak install flathub info.portfolio_performance.PortfolioPerformance | ||
flatpak install flathub org.electrum.electrum #BTC | ||
flatpak install flathub org.featherwallet.Feather #Monero | ||
flatpak install flathub com.brave.Browser | ||
else | ||
# User declined, exit | ||
echo "Installation aborted." | ||
fi |
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 |
---|---|---|
@@ -0,0 +1,51 @@ | ||
#!/bin/bash | ||
|
||
# Function to prompt the user with a yes/no question | ||
prompt_yes_no() { | ||
while true; do | ||
read -p "$1 [y/n]: " yn | ||
case $yn in | ||
[Yy]* ) return 0;; # User answered Yes, return 0 | ||
[Nn]* ) return 1;; # User answered No, return 1 | ||
* ) echo "Please answer yes or no.";; | ||
esac | ||
done | ||
} | ||
|
||
# Explain the risks to the user | ||
echo "Installing Snap/Flatpak applications can introduce new software dependencies and potential security risks." | ||
echo "Do you understand it and want to proceed with the installation?" | ||
|
||
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo | ||
sudo apt install snapd | ||
|
||
echo "Flatpak and snapcraft packages ready to be installed" | ||
|
||
# Prompt the user if they want to proceed | ||
if prompt_yes_no; then | ||
# User agreed, proceed with installations | ||
#flatpak install flathub com.vscodium.codium | ||
sudo snap install codium --classic | ||
|
||
flatpak install flathub org.spyder_ide.spyder | ||
|
||
flatpak install flathub io.gitlab.librewolf-community | ||
flatpak install flathub com.brave.Browser | ||
|
||
echo "Installing HUGO/NPM" | ||
snap install hugo | ||
snap install node --channel=21/stable --classic | ||
|
||
# Display installed Snap and Flatpak packages | ||
echo "Installed Snap packages:" | ||
snap list | ||
echo "Installed Flatpak packages:" | ||
flatpak list | ||
else | ||
# User declined, exit | ||
echo "Installation aborted." | ||
fi | ||
|
||
|
||
|
||
|
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
flatpak install flathub app.organicmaps.desktop ##offline maps | ||
|
||
##editing photo/video |
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
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