Skip to content

Commit

Permalink
rename app
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexDeFoc committed Aug 21, 2024
1 parent 861c0c5 commit ad488a5
Show file tree
Hide file tree
Showing 13 changed files with 169 additions and 148 deletions.
61 changes: 61 additions & 0 deletions My Setup/alias.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
{
"ch": {
"app": "ch",
"status": "search",
"prefix": "google.com/search?q=",
"connect": "+",
"fallback": "google.com"
},
"chu": {
"app": "ch",
"status": "call",
"prefix": "",
"connect": "",
"fallback": "",
"desc": "Search web for a link"
},
"epic": {
"app": "chu",
"status": "call",
"fallback": "epicgames.com"
},
"gpt": {
"app": "chu",
"status": "call",
"fallback": "chatgpt.com"
},
"wh": {
"app": "chu",
"status": "call",
"fallback": "web.whatsapp.com"
},
"yt": {
"app": "ch",
"status": "search",
"prefix": "youtube.com/results?search_query=",
"connect": "+",
"fallback": "youtube.com"
},
"hk": {
"app": "hk",
"status": "pass",
"command": "-screen-width 912 -screen-height 570"
},
"coc": {
"app": "coc",
"status": "command",
"command": "start googleplaygames://launch/?id=com.supercell.clashofclans&lid=1&pid=1",
"desc": "Start clash of clans"
},
"cr": {
"app": "cr",
"status": "command",
"command": "start googleplaygames://launch/?id=com.supercell.clashroyale&lid=1&pid=1",
"desc": "Start clash royale"
},
"xp": {
"app": "xp",
"status": "command",
"command": "start explorer.exe ."
}
}
37 changes: 37 additions & 0 deletions My Setup/app.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"dis": {
"path": "C:/App/Ripcord/Ripcord.exe"
},
"ch": {
"path": "C:/Program Files/Google/Chrome/Application/chrome.exe"
},
"hk": {
"path": "C:/Game/Internet/Hollow Knight/hollow_knight.exe",
"desc": "Hollow Knight"
},
"xp": {
"path": "explorer.exe"
},
"sp": {
"path": "C:/Users/Alefan/AppData/Roaming/Spotify/Spotify.exe"
},
"keepass": {
"path": "C:/App/KeepassXC/KeePassXC.exe"
},
"ktw": {
"path": "C:/Game/Internet/Kingdom Two Crowns/KingdomTwoCrowns.exe",
"desc": "Kingdom Two Crowns"
},
"bcu": {
"path": "C:/App/BCUninstaller/BCUninstaller.exe",
"desc": "BCUninstaller"
},
"mine": {
"path": "C:/Game/MultiMC/MultiMC.exe",
"desc": "Minecraft Launcher"
},
"ds4": {
"path": "C:/App/DS4Windows/DS4Windows.exe",
"desc": "Ds4 for using controller"
}
}
4 changes: 4 additions & 0 deletions My Setup/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"Advanced mode": true,
"Shell": "cmd"
}
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,22 @@
2. Download the executable for your cpu architecture. Most probably it's 64 or 32 bit. It will look like this: _win_cpu_architecture.exe_. If you don't understand the names of the architectures provided check this footnote.[^1]
[^1]: amd64 = 64 bit cpu, i386 = 32 bit cpu
3. Double-Click it and follow the steps of the installer.
4. Done! Now you can enter your terminal and start by typing firstly the app name which is _"r"_, and then the app or alias name.
4. Done! Now you can enter your terminal and start by typing firstly the app name which is _"ru"_, and then the app or alias name.
#### Guide for Linux/MacOS:
1. Go to the [Releases](https://github.com/AlexDeFoc/goRunner/releases/latest) page.
2. Download the bash script with the _".sh"_ extension for your architecture.
3. Run the script with sudo/administrator privileges to be sure it installs correctlly.
4. Done! Now you can enter your terminal and start by typing firstly the app name which is _"r"_, and then the app or alias name.
4. Done! Now you can enter your terminal and start by typing firstly the app name which is _"ru"_, and then the app or alias name.
### Portable installation
- This doesn't allow you to use the app for anywhere on your computer, because it is not added in your enviromental variables / %PATH%. So you will have to do it manually or run the app while the folder containing the app.
1. Go to the [Releases](https://github.com/AlexDeFoc/goRunner/releases/latest) page.
2. Download the archive file with the _".tar.xz"_ extension for your operating system and architecture.
3. Extract using the command _"tar -xvJf"_ or other ways you extract the files from a compressed tarball.
4. Done! Now you can use it by entering your terminal and changing the directory to the app's one and then starting by typing the app name which is _"r"_, and then the app or alias name.
4. Done! Now you can use it by entering your terminal and changing the directory to the app's one and then starting by typing the app name which is _"ru"_, and then the app or alias name.
<br><br>

## Configuration
###### Note: To see my app & alias configs check in the repository the folder called "My setup".
### Configuration fields structure:
- Advanced mode
- Shell
Expand Down
58 changes: 6 additions & 52 deletions alias.json
Original file line number Diff line number Diff line change
@@ -1,56 +1,10 @@
{
"ch": {
"app": "ch",
"status": "search",
"prefix": "google.com/search?q=",
"connect": "+",
"fallback": "google.com"
"alias1": {
"appname1": "",
"status": ""
},
"chu": {
"app": "ch",
"status": "call",
"prefix": "",
"connect": "",
"fallback": "",
"desc": "Search web for a link"
},
"epic": {
"app": "chu",
"status": "call",
"fallback": "epicgames.com"
},
"wh": {
"app": "chu",
"status": "call",
"fallback": "web.whatsapp.com"
},
"yt": {
"app": "ch",
"status": "search",
"prefix": "youtube.com/results?search_query=",
"connect": "+",
"fallback": "youtube.com"
},
"hk": {
"app": "hk",
"status": "pass",
"command": "-screen-width 912 -screen-height 570"
},
"coc": {
"app": "coc",
"status": "command",
"command": "start googleplaygames://launch/?id=com.supercell.clashofclans&lid=1&pid=1",
"desc": "Start clash of clans"
},
"cr": {
"app": "cr",
"status": "command",
"command": "start googleplaygames://launch/?id=com.supercell.clashroyale&lid=1&pid=1",
"desc": "Start clash royale"
},
"xp": {
"app": "xp",
"status": "command",
"command": "start explorer.exe ."
"alias2": {
"appname2": "",
"status": ""
}
}
37 changes: 4 additions & 33 deletions app.json
Original file line number Diff line number Diff line change
@@ -1,37 +1,8 @@
{
"dis": {
"path": "C:/App/Ripcord/Ripcord.exe"
"app1": {
"path1": "Path/to/exe1"
},
"ch": {
"path": "C:/Program Files/Google/Chrome/Application/chrome.exe"
},
"hk": {
"path": "C:/Game/Internet/Hollow Knight/hollow_knight.exe",
"desc": "Hollow Knight"
},
"xp": {
"path": "explorer.exe"
},
"sp": {
"path": "C:/Users/Alefan/AppData/Roaming/Spotify/Spotify.exe"
},
"keepass": {
"path": "C:/App/KeepassXC/KeePassXC.exe"
},
"ktw": {
"path": "C:/Game/Internet/Kingdom Two Crowns/KingdomTwoCrowns.exe",
"desc": "Kingdom Two Crowns"
},
"bcu": {
"path": "C:/App/BCUninstaller/BCUninstaller.exe",
"desc": "BCUninstaller"
},
"mine": {
"path": "C:/Game/Prism/prismlauncher.exe",
"desc": "Minecraft Launcher"
},
"ds4": {
"path": "C:/App/DS4Windows/DS4Windows.exe",
"desc": "Ds4 for using controller"
"app2": {
"path2": "Path/to/exe2"
}
}
Loading

0 comments on commit ad488a5

Please sign in to comment.