Skip to content
Merged

Dev #64

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 14 additions & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,16 @@ if [[ "$action" == "1" ]]; then

if [[ "$choice" =~ ^[Yy]$ ]]; then
echo "Installing Arch-Store stable..."
sudo pacman -Rns arch-store-git
sudo pacman -Rns arch-store-dev-git
wget https://raw.githubusercontent.com/samuobe/Arch-Store/main/PKGBUILD/PKGBUILD
makepkg -si
rm PKGBUILD
echo "FINISHED!"
else
echo "Installing Arch-Store from main branch..."
echo "Installing Arch-Store from main branch (beta)..."
sudo pacman -Rns arch-store-dev-git
sudo pacman -Rns arch-store
wget https://raw.githubusercontent.com/samuobe/Arch-Store/main/PKGBUILD/PKGBUILD-git
mv PKGBUILD-git PKGBUILD
makepkg -si
Expand All @@ -45,15 +49,24 @@ elif [[ "$action" == "2" ]]; then
echo "Uninstalling Arch-Store..."
sudo pacman -Rns arch-store
sudo pacman -Rns arch-store-git
sudo pacman -Rns arch-store-dev-git
echo "FINISHED!"
elif [[ "$action" == "5" ]]; then
mkdir arch-store-install
cd arch-store-install
PYTHON_PATH=$(which python3)

echo "Installing Arch-Store DEV branch..."
sudo pacman -Rns arch-store
sudo pacman -Rns arch-store-git
wget https://raw.githubusercontent.com/samuobe/Arch-Store/main/PKGBUILD/PKGBUILD-dev
mv PKGBUILD-dev PKGBUILD
makepkg -si
rm PKGBUILD
sudo touch /usr/share/arch-store/script
echo "FINISHED!"


cd ..
rm -rf arch-store-install
fi
Expand Down
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
from manage_installed_method import show_window as show_installed_method

#fast access variables
arch_store_version = "beta_SETTINGS-UPDATE_1.0.0"
arch_store_version = "dev_DEV-TEST_1.0.0"

#Base variables
install_pacman_packages=[]
Expand Down
6 changes: 3 additions & 3 deletions settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ def open_setting(language, working_dir, avaible_languages, version):
global pacman_status, aur_status, flatpak_status, aur_method, new_language, app_image_dir
load_config_data(working_dir, avaible_languages, language)

if not os.path.isfile(working_dir+"/script"):
script_installation_status = False
else:
if os.path.isfile("/usr/share/arch-store/script"):
script_installation_status = True
else:
script_installation_status = False
#Edit repo
def confirm_changes():
global pacman_status, aur_status, flatpak_status, aur_method, new_language, app_image_dir, old_language
Expand Down
Loading