Browse Source

Add gmenu (desktop application launcher)

master
Trevor Slocum 2 months ago
parent
commit
aa15071d65
  1. 25
      cview.sh

25
cview.sh

@ -10,7 +10,10 @@ set -e
mkdir -p data
cd data
workdir=$(pwd)
# Amfora - Gemini browser
cd $workdir
if [ ! -d amfora ]
then
git clone https://github.com/makeworld-the-better-one/amfora
@ -22,12 +25,31 @@ fi
if [ ! -z "$1" ]; then
go mod edit -replace code.rocketnine.space/tslocum/cview="$1"
fi
go mod tidy
make clean
make
./amfora
# gmenu - Desktop application launcher
cd $workdir
if [ ! -d gmenu ]
then
git clone https://code.rocketnine.space/tslocum/gmenu
cd gmenu
else
cd gmenu
git pull
fi
if [ ! -z "$1" ]; then
go mod edit -replace code.rocketnine.space/tslocum/cview="$1"
fi
cd cmd/gmenu
go mod tidy
go build
./gmenu
# netris - Tetris clone
cd ../
cd $workdir
if [ ! -d netris ]
then
git clone https://code.rocketnine.space/tslocum/netris
@ -40,5 +62,6 @@ if [ ! -z "$1" ]; then
go mod edit -replace code.rocketnine.space/tslocum/cview="$1"
fi
cd cmd/netris
go mod tidy
go build
./netris
Loading…
Cancel
Save