Commit Graph

210 Commits

Author SHA1 Message Date
Alessandro Toia
28edb3393e Add short options to arguments 2021-01-30 20:01:06 -08:00
the Sane
978e0adc92
Remove unused variable 2021-01-30 15:00:20 -05:00
the Sane
1ae2d6e4b4
zsh compatibility 2021-01-30 14:45:38 -05:00
the Sane
ae7c407b19
Add referral code 2021-01-30 14:37:41 -05:00
the Sane
5caea10a6b
Add more contributors <3 2021-01-30 14:35:54 -05:00
the Sane
407db0bbcf
Rename function 2021-01-30 14:32:41 -05:00
the Sane
70f282d012
Add command line arguments 2021-01-30 14:32:16 -05:00
the-sane
0018591192
Merge pull request #13 from victort/argumentative
added --help, help verbage, and structure for future argument handling.
2021-01-30 13:49:41 -05:00
the-sane
ca2ce556aa
Re-add comment 2021-01-30 13:45:35 -05:00
Alessandro Toia
8e922ae0ef Remove superfluous if/then statments for XDG base dits 2021-01-28 21:26:17 -08:00
mprov
1d4ff8375e subtraction of abstraction 2021-01-28 17:50:58 -08:00
mprov
8bd3a165de added --help, help verbage, and structure for future argument handling. 2021-01-28 17:11:03 -08:00
the-sane
829610b13e
Improve menu description 2021-01-24 18:49:17 -05:00
the-sane
d4c3015a22
Improve runner menu description 2021-01-24 16:21:49 -05:00
the-sane
f6ea8c04c7
Add maintenence and troubleshooting menu 2021-01-24 16:15:35 -05:00
the-sane
b7a36a872b
Improve preflight check + check total ram 2021-01-24 15:37:06 -05:00
the-sane
4a4d8a0f2a
If you find yourself invoking grep and awk in one line, you're doing it wrong. 2021-01-24 15:35:33 -05:00
the-sane
2dd81588b2
Improve message 2021-01-24 14:51:00 -05:00
the-sane
7b7460fa0d
Fallback to sudo where pollkit is unavailable 2021-01-24 14:43:42 -05:00
the-sane
478ff37b8a
Improve messages 2021-01-24 14:37:36 -05:00
the-sane
1840983431
Improve preflight check
Run all actions at once to avoid multiple password prompts.
Move followups and results to the preflight_check function.
2021-01-24 12:44:49 -05:00
the-sane
693edd56fa
Clarify menu item 2021-01-24 01:29:46 -05:00
the-sane
9af012eaaf
Improve comments 2021-01-23 22:34:15 -05:00
the-sane
870091faaa
Fix messages 2021-01-23 22:13:28 -05:00
the-sane
2c6cceb60f
Add Preflight Check for all optimization checks 2021-01-23 22:05:23 -05:00
the-sane
7ebaa6d2d2
Additional referral code 2021-01-23 09:31:19 -05:00
the-sane
8bea7dc005
Credit Tatumkhamun 2021-01-23 09:29:42 -05:00
the-sane
5107076b2f
Fallback logo 2021-01-17 16:17:51 -05:00
the-sane
bc39507e48
Use an installed logo if available 2021-01-17 15:58:14 -05:00
the-sane
fe2b9f56c0
Use the lug logo for zenity's taskbar icon 2021-01-17 09:25:18 -05:00
the-sane
7a4de1ad21
Rearrange menu 2021-01-16 22:09:46 -05:00
the-sane
4b924ba068
Improve message 2021-01-16 22:00:06 -05:00
the-sane
b66d1554e9
Improve deletion messages & capital Helper. 2021-01-16 21:55:58 -05:00
the-sane
ec3027bc28
Rearrange menu 2021-01-16 21:52:21 -05:00
the-sane
ec794a0fd2
Add reset_helper feature 2021-01-16 21:51:00 -05:00
the-sane
762c069fb5
Rename to debug_print 2021-01-16 21:33:15 -05:00
the-sane
9689a4a60b
Cleanup 2021-01-16 19:56:56 -05:00
the-sane
3a9b4194e0
Improve debug message 2021-01-16 19:22:37 -05:00
the-sane
9be4f45449
Show which mode we're in 2021-01-16 19:07:50 -05:00
the-sane
7d667343d3
Cleanup 2021-01-16 18:51:32 -05:00
the-sane
1aa6c3f4c2
Use conf directory for keybind backups 2021-01-16 18:50:28 -05:00
the-sane
0c80a1f132
Improve intro comment 2021-01-16 14:31:27 -05:00
the-sane
bc608f7ac4
Reference lutris default install path 2021-01-16 14:20:10 -05:00
the-sane
d2983fa519
Improve debug messages 2021-01-16 14:07:44 -05:00
the-sane
8e6fe1225d
Fix shaders directory 2021-01-16 14:04:36 -05:00
the-sane
41210bfd1c
Check for curl dependency separately from coreutils 2021-01-16 11:54:44 -05:00
the-sane
71df862879
Add curl dependency 2021-01-16 11:33:11 -05:00
the-sane
ee5da5d348
Add notify-send for dependency errors 2021-01-16 09:07:01 -05:00
the-sane
7f9ad04753
printf for portability 2021-01-16 08:51:22 -05:00
the-sane
37762b9075
Output errors to stderr 2021-01-15 20:42:47 -05:00
the-sane
82c5ccbbab
Remove testing oops 2021-01-15 20:21:51 -05:00
the-sane
669ee6eb91
even moar referral codes! 2021-01-15 20:19:31 -05:00
the-sane
7c0fbc65b7
Add contributor pstn 2021-01-15 20:02:48 -05:00
the-sane
62477143f2
Dependency check. Remove tmp_dir on exit. 2021-01-15 20:02:10 -05:00
the-sane
35fd12b672
Add mktemp suffix and fallback 2021-01-15 19:33:10 -05:00
Philipp Steinpaß
ec860270bb Use mktemp to generate tmp dir. 2021-01-15 18:02:28 +01:00
Philipp Steinpaß
3ea9fb0f35 make shebang fully posix compatible 2021-01-15 18:00:52 +01:00
the-sane
7f7b63caeb
Formatting 2021-01-13 19:07:43 -05:00
the-sane
86604f2b7d
Kill only the curl spawned by the helper. More referral codes. 2021-01-13 19:06:36 -05:00
the-sane
5a00c74ddc
MOAR REFERRAL CODES! 2021-01-12 18:30:20 -05:00
the-sane
089f69ef06
Formatting 2021-01-11 20:13:47 -05:00
the-sane
9e79fd68e0
Fix comment 2021-01-11 20:10:41 -05:00
the-sane
08f8f1e07c
Add Zenity progress bars for runner installation. +More referral codes. 2021-01-11 20:01:47 -05:00
the-sane
707d1ad47d
Improve comments 2021-01-03 13:48:48 -05:00
the-sane
0d7e4ea2b3
Improve comments 2021-01-03 08:49:13 -05:00
the-sane
aaccca1dc9
Clarify instructions 2021-01-02 08:57:01 -05:00
the-sane
b378de0b9e
Add more penguin referral codes 2021-01-02 08:47:03 -05:00
the-sane
61e14ed4de
Improve getdirs: Try to detect the game directory 2021-01-01 14:52:43 -05:00
the-sane
2cdef0f1c4
Begin adding penguin referral code randomzier 2021-01-01 10:41:07 -05:00
the-sane
d20fc859e1
Shorten comments for small terminal windows 2020-12-31 20:55:44 -05:00
the-sane
4cc8e3331c
Only offer to restart lutris if it's running 2020-12-31 20:46:45 -05:00
the-sane
a5d372a43b
Improve debug_echo function 2020-12-31 20:43:10 -05:00
the-sane
48582c3a22
Refactor URL handling for easy future additions
Store runner source URLs in an array for easy expansion.
Handle different file extensions automatically.
Detect whether the archive is packaged with a subdirectory or not and handle it automatically.
2020-12-31 20:28:34 -05:00
the-sane
363be810aa
+ <3 2020-12-27 19:08:11 -05:00
the-sane
467e1b7164
Re-order operations in case some shells can't math good 2020-12-27 19:07:17 -05:00
the-sane
85c1f62c22
Update phrasing 2020-12-27 18:04:45 -05:00
the-sane
758f106efd
Add debug_echo function
Easy formatting of debug messages
2020-12-27 17:47:57 -05:00
the-sane
43d2b467e8
Dynamically calculate zenity menu heights 2020-12-27 17:27:00 -05:00
the-sane
aa60600807
Throw out zenity errors
Cleans up the terminal output
2020-12-27 16:56:41 -05:00
the-sane
a2594c3af3
Add contributors and function sections 2020-12-27 16:45:31 -05:00
the-sane
8f3efd0b9c
Fix url parsing
Be more specific for when grep returns multiple matches
2020-12-27 16:32:55 -05:00
the-sane
6d7c84c8b6
Loop runner_manage menu until the user cancels 2020-12-27 15:40:54 -05:00
the-sane
c12509bc0c
Fix string compare 2020-12-27 14:59:41 -05:00
the-sane
224c531d64
Offer Lutris restart only if changes were made 2020-12-27 14:57:57 -05:00
the-sane
32fdc04ec7
Improve runner_delete
Sanity check and rename variable
2020-12-27 14:48:38 -05:00
the-sane
20eb8e984a
Rename functions with "runner_" prefix
Consistency with other function names
2020-12-27 14:43:05 -05:00
the-sane
0df2659e54
Don't manage lutris runners if lutris isn't installed 2020-12-27 14:34:09 -05:00
the-sane
4a0b053a68
Restart after deleting a runner 2020-12-27 14:30:22 -05:00
the-sane
26030a6c82
Use XDG_DATA_HOME 2020-12-27 14:29:00 -05:00
the-sane
9c44505d27
Improve install_runner 2020-12-27 14:12:20 -05:00
the-sane
7f0f12e61b
Add sanity check for function argument 2020-12-27 11:11:20 -05:00
the-sane
da8c63fdcf
Improve choose_runner_version()
Fix bash formatting and improve code consistency, add sanity check to catch github API errors
2020-12-27 10:58:00 -05:00
the-sane
6e27ae8449
Refactor choose_runner_to_delete(). Untabify. 2020-12-25 11:24:10 -05:00
Termuellinator
be533e842b
Update lug-helper.sh
quoted the variables
2020-12-22 20:06:39 +01:00
Termuellinator
dfc2b4f573
Added option to download and delete runners
finally :D
2020-12-22 13:02:18 +01:00
the-sane
5d3e8bf554
Fix calling function and arguments from array 2020-12-21 11:56:17 -05:00
the-sane
176533a404
Improve comments + handle newlines automatically for menu_text_terminal 2020-12-20 19:34:34 -05:00
the-sane
36fe89dd0b
Improve comments 2020-12-19 09:34:53 -05:00
the-sane
05ccd4bbfb
Better messaging 2020-11-29 08:34:10 -05:00
the-sane
608d581588
Fix paths 2020-11-26 08:46:54 -05:00