File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 33set -eu
44
55ARCH=$( uname -m)
6- VERSION=$( pacman -Q PACKAGENAME | awk ' {print $2; exit}' ) # example command to get version of application here
6+ VERSION=$( pacman -Q opencode-desktop-bin | awk ' {print $2; exit}' ) # example command to get version of application here
77export ARCH VERSION
88export OUTPATH=./dist
99export ADD_HOOKS=" self-updater.bg.hook"
1010export UPINFO=" gh-releases-zsync|${GITHUB_REPOSITORY%/* } |${GITHUB_REPOSITORY#*/ } |latest|*$ARCH .AppImage.zsync"
11- export ICON=PATH_OR_URL_TO_ICON
12- export DESKTOP=PATH_OR_URL_TO_DESKTOP_ENTRY
11+ export ICON=/usr/share/icons/hicolor/128x128/apps/OpenCode.png
12+ export DESKTOP=/usr/share/applications/OpenCode.desktop
1313
1414# Deploy dependencies
15- quick-sharun /PATH/TO/BINARY_AND_LIBRARIES_HERE
15+ quick-sharun \
16+ /usr/bin/OpenCode \
17+ /usr/bin/opencode-cli
1618
1719# Additional changes can be done in between here
1820
You can’t perform that action at this time.
0 commit comments