Skip to content
This repository was archived by the owner on Sep 26, 2024. It is now read-only.

Commit 7cca5a7

Browse files
authored
Merge pull request #163 from thw26/cli-only
Decouple script from Zenity. Fix #104.
2 parents d075710 + 9f6d842 commit 7cca5a7

File tree

4 files changed

+534
-228
lines changed

4 files changed

+534
-228
lines changed

CHANGELOG.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Changelog
2-
* 3.6.4
2+
* 3.7.0
3+
- Decoupled script from `zenity` and compatible with `dialog` and `whiptail`. Fix #104. [T. H. Wright]
34
- Make bash path environment agnostic [Vskillet]
45
- Add bash completion file [T. H. Wright]
56
- Fix controlPanel's `--winetricks` function [T. H. Wright]

Launcher-Template.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ shortcut() {
308308
rm -rf "\${HOME}/.local/share/applications/${FLPRODUCT}Bible.desktop"
309309
rm -rf "\${HOME}/.local/share/applications/${FLPRODUCT} Bible.desktop"
310310
[ ! -f "\${HOME}/.local/share/applications/${FLPRODUCT}Bible.desktop" ] && touch "\${HOME}/.local/share/applications/${FLPRODUCT}Bible.desktop"
311-
cat "\${HOME}/.local/share/applications/${FLPRODUCT}Bible.desktop" << SEOF
311+
cat > "\${HOME}/.local/share/applications/${FLPRODUCT}Bible.desktop" << SEOF
312312
[Desktop Entry]
313313
Name=${FLPRODUCT}Bible
314314
Comment=A Bible Study Library with Built-In Tools
@@ -318,7 +318,7 @@ Terminal=false
318318
Type=Application
319319
Categories=Education;
320320
SEOF
321-
chmod 755 "\${HOME}/.local/share/applications//${FLPRODUCT}Bible.desktop"
321+
chmod 755 "\${HOME}/.local/share/applications/${FLPRODUCT}Bible.desktop"
322322
echo "File: \${HOME}/.local/share/applications/${FLPRODUCT}Bible.desktop updated"
323323
echo "======= making new ${FLPRODUCT}Bible.desktop shortcut done! ======="
324324
exit 0

0 commit comments

Comments
 (0)