-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.sh
More file actions
11 lines (11 loc) · 688 Bytes
/
build.sh
File metadata and controls
11 lines (11 loc) · 688 Bytes
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/bash
echo "Downloading depency runtime and SDK"
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak install --system runtime/org.gnome.Platform/x86_64/44 runtime/org.gnome.Sdk/x86_64/44 -y > /dev/null 2>&1
echo "Building app with Flatpak builder"
git clone https://github.com/vikdevelop/DesktopLinkCreator /tmp/DesktopLinkCreator > /dev/null 2>&1
cd /tmp/DesktopLinkCreator
flatpak-builder build *.yaml --install --user > /dev/null 2>&1
cd
rm -rf /tmp/DesktopLinkCreator
echo "DesktopLinkCreator has been installed successfully! Try run the app from desktop or terminal command 'flatpak run io.github.vikdevelop.DesktopLinkCreator'"