-
Notifications
You must be signed in to change notification settings - Fork 208
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Open-Typer is an open source typing tutor application which aims to make learning to touch type easier. Using Qt, Open-Typer runs on many devices, while still maintaining ease of use. --------- Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: theofficialgman <[email protected]>
- Loading branch information
1 parent
57da186
commit f24028d
Showing
9 changed files
with
50 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/bin/bash | ||
|
||
webVer=$(get_release Open-Typer/Open-Typer) | ||
armhf_url="https://github.com/Open-Typer/Open-Typer/releases/download/v${webVer}/Open-Typer-armhf.AppImage" | ||
arm64_url="https://github.com/Open-Typer/Open-Typer/releases/download/v${webVer}/Open-Typer-aarch64.AppImage" | ||
|
||
source $GITHUB_WORKSPACE/.github/workflows/update_github_script.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Open-Typer is an open source typing tutor application which aims to make learning to touch type easier. | ||
Using Qt, Open-Typer runs on many devices, while still maintaining ease of use. | ||
|
||
To run: Menu -> Education -> Open-Typer | ||
To run in terminal: /opt/Open-Typer.AppImage |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
#!/bin/bash | ||
|
||
version=5.2.1 | ||
|
||
#Install Depends | ||
enable_module fuse || exit 1 | ||
|
||
#Download Open-Typer build from repo | ||
case "$arch" in | ||
"64") wget -O /tmp/Open-Typer.AppImage https://github.com/Open-Typer/Open-Typer/releases/download/v${version}/Open-Typer-aarch64.AppImage || error "Failed to download AppImage!" ;; | ||
"32") wget -O /tmp/Open-Typer.AppImage https://github.com/Open-Typer/Open-Typer/releases/download/v${version}/Open-Typer-armhf.AppImage || error "Failed to download AppImage!" ;; | ||
*) error "arch variable is not set, can not continue" ;; | ||
esac | ||
|
||
#Move Open-Typer.AppImage to /opt | ||
sudo mv /tmp/Open-Typer.AppImage /opt || error "Failed to move from /tmp to /opt!" | ||
|
||
#Mark Open-Typer.AppImage as executable | ||
sudo chmod +x /opt/Open-Typer.AppImage || error "Failed to mark as executable!" | ||
|
||
#Create Menu Button | ||
status "Creating Menu Button" | ||
sudo mkdir -p /usr/local/share/applications | ||
echo "[Desktop Entry] | ||
Name=Open-Typer | ||
Comment=A free and open source typing tutor program | ||
Icon=$(dirname "$0")/icon-64.png | ||
Exec=/opt/Open-Typer.AppImage %f | ||
Type=Application | ||
Terminal=false | ||
Categories=Education;" | sudo tee /usr/local/share/applications/Open-Typer.desktop >/dev/null || error "Failed to create menu button!" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/bin/bash | ||
|
||
purge_packages || exit 1 | ||
sudo rm -rf /opt/Open-Typer.AppImage /usr/local/share/applications/Open-Typer.desktop |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
https://github.com/Open-Typer/Open-Typer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters