Commit Graph

574 Commits

Author SHA1 Message Date
the-sane
fdfd512bfc These are numbers, not strings 2022-10-31 14:58:07 -04:00
the-sane
8f86d37b88 Handle errors in pkexec and sudo 2022-10-31 14:54:17 -04:00
the-sane
1fe9af78b1 Change flatpak process grep 2022-10-30 18:02:22 -04:00
the-sane
03cf7a9aa0 Cosmetic: Update function group headers 2022-10-22 22:49:22 -04:00
the-sane
7d342416f7 Make install json available to flatpak lutris 2022-10-22 14:56:44 -04:00
the-sane
1a1c3cf0b8 New message type, dialog with two options 2022-10-22 10:07:17 -04:00
the-sane
5cfb306289 Rearrange main 2022-10-22 00:04:37 -04:00
the-sane
80017b848e Add show-wiki to command line arguments 2022-10-22 00:00:58 -04:00
the-sane
80db33be07 Add EAC workaround to command line arguments 2022-10-21 23:58:52 -04:00
the-sane
c497f8e1d8 Improve runner/dxvk in display_dirs() 2022-10-21 23:56:15 -04:00
the-sane
eedb5de460 Change counter variable
i gets used by some of the functions being called
2022-10-21 23:51:13 -04:00
the-sane
3a7e0996b5 Print error to console as well 2022-10-21 23:48:54 -04:00
the-sane
402b22ea45 Change message type to warning 2022-10-21 23:45:15 -04:00
the-sane
10812a622d Don't return 0 here 2022-10-21 23:44:08 -04:00
the-sane
f5abb87cb5 Return 0 2022-10-21 23:42:52 -04:00
the-sane
bd119c4ce8 Improve lutris install and restart functions 2022-10-21 23:39:48 -04:00
the-sane
02d8f4b685 Fix restarting flatpak lutris 2022-10-21 19:29:15 -04:00
the-sane
bef1c34491 Ask the user which lutris to install with 2022-10-21 19:19:52 -04:00
the-sane
7090acf1eb Fix launching flatpak lutris during game install 2022-10-21 19:09:11 -04:00
the-sane
883163843e Fix flatpak lutris detection 2022-10-21 18:44:53 -04:00
the-sane
6a665bceac Add support for Flatpak Lutris 2022-10-21 18:29:58 -04:00
the-sane
1844bfda13 Detect flatpak lutris 2022-10-18 11:45:24 -04:00
the-sane
f78f54ddf7 Put lutris detection in its own function
Preparation for flatpak support
2022-10-18 11:12:14 -04:00
the-sane
167edab6ec Comment out zstd dependency (TKG runners removed) 2022-10-18 11:10:21 -04:00
the-sane
1b334db7cc Check if it's already been installed 2022-10-17 17:17:21 -04:00
the-sane
dc648a8f6f Clean up extracted directories too 2022-10-17 16:48:11 -04:00
the-sane
a8c4257430 Bump version 2022-10-16 11:04:15 -04:00
the-sane
b2f542e029 Remove TKG from runner sources
They've switched to CI builds, which we don't currently support
2022-10-16 11:03:44 -04:00
the-sane
17b1bfe140 Rename function 2022-10-16 11:00:16 -04:00
the-sane
f19faa8235 Refactor rm_shaders() 2022-10-16 10:57:01 -04:00
the-sane
7cc4cca62d Fix error message (variable not yet set) 2022-10-16 00:08:02 -04:00
the-sane
8f857476d0 Quiet grep in eac_workaround() 2022-10-15 16:00:18 -04:00
the-sane
652c2fa4a0 Add shaders path to display directories feature
...in the maintenance & troubleshooting menu
2022-10-15 15:46:09 -04:00
the-sane
6e4feecc85 Update phrasing 2022-10-15 15:06:02 -04:00
the-sane
0e5fe688eb Quote zenity window icon path to handle spaces 2022-10-15 14:57:00 -04:00
the-sane
8d130668d6 Fix pgrep/pkill commands to auto-restart Lutris 2022-10-15 14:41:31 -04:00
the-sane
142e09800f Refactor download_select_install() function 2022-10-15 14:24:31 -04:00
the Sane
1ae94e9b50
Add a referral code
Closes #43
2022-07-10 14:14:17 -06:00
Termuellinator
747c799a8b more general message on zstd dependency check 2022-06-23 10:01:59 +02:00
Termuellinator
ba907c44bf check if EAC-Workaround is commented out 2022-06-20 15:00:35 +02:00
Termuellinator
e7a3b30564 check if zstd is installed 2022-06-20 14:44:42 +02:00
Termuellinator
bc11c184d2 Merge branch 'master' of github.com:starcitizen-lug/lug-helper 2022-06-16 08:48:51 +02:00
Termuellinator
02a79aa859 added dependencies to Readme and glibc check to TKG 2022-06-16 08:48:02 +02:00
Simon
bdb71475a8 Remove snatella/molotov runners for now 2022-06-07 09:15:44 +01:00
Termuellinator
c627666705 added download option for TKG runners 2022-05-18 12:51:11 +02:00
Termuellinator
65ac8ae4cd fixed if statement in rm_shaders 2022-05-16 18:37:32 +02:00
Termuellinator
b4d9598fe5 simplified if statement for shader removal 2022-05-16 15:52:51 +02:00
Termuellinator
f99fe9b996 harmonized style 2022-05-16 15:40:12 +02:00
Termuellinator
dffa971dc1 quoted lug_logo to avoid zenity bug if space is present in path - issue 36 2022-05-02 08:27:59 +02:00
Termuellinator
fe1733542d added info message when no shaders directory is found 2022-04-23 11:12:51 +02:00
Termuellinator
d6d28f1481 quoted variable for space safety 2022-04-22 17:15:37 +02:00
Termuellinator
eb48d00396 adapted rm_shaders() to the new appdata-location used with 3.17 2022-04-22 17:04:22 +02:00
the Sane
f072378617
Bump version 2022-04-09 10:53:28 -06:00
the Sane
d6376ff9fa
Prepare for shaders location change in 3.17 2022-04-09 10:51:29 -06:00
the Sane
28051a135a
Bump version 2022-03-18 17:28:43 -04:00
the Sane
44b1332782
Add new dxvk source 2022-03-18 17:27:16 -04:00
the Sane
10c5438189
Update swap message 2022-03-02 17:27:17 -05:00
the Sane
57df0a8dd9
Look for swap in preflight check 2022-03-02 11:56:59 -05:00
the Sane
f67c76be2e
Bump version 2022-02-17 13:26:30 -05:00
the Sane
d9d58702d1
Add DXVK_ASYNC environment variable instructions 2022-02-17 13:25:21 -05:00
the Sane
26f1377506
Fix helper directory paths with spaces 2022-02-09 16:22:02 -05:00
the Sane
b71f601547
Bump version 2022-02-05 12:27:47 -05:00
the Sane
717a83a512
Improve EAC workaround 2022-02-05 12:27:05 -05:00
the Sane
ae25785a41
Bump version 2022-02-04 23:27:07 -05:00
the Sane
5ef3a95a2a
Consistency in systemd drop-in filenames 2022-01-21 18:11:32 -05:00
the Sane
37e487d296
Use systemd drop-in for setting filelimit 2022-01-21 17:43:58 -05:00
the Sane
ab9155b9b8
Clarify that DXVK manager is for Lutris 2022-01-21 17:20:44 -05:00
the Sane
7b7347dd64
Clarify error message 2022-01-19 02:20:17 -05:00
the Sane
4b32177e97
Clickable wiki URL what an idea 2022-01-07 15:55:56 -05:00
the Sane
b4762d4724
Add comments 2022-01-07 14:30:38 -05:00
the Sane
37c94af2ed
Bump version 2022-01-07 14:26:24 -05:00
the Sane
6d56599e2f
Add comment 2022-01-07 14:23:43 -05:00
the Sane
9909221dff
Remove bc dependency 2022-01-07 14:22:59 -05:00
the Sane
a328b465ef
Add display wiki option in troubleshooting menu 2022-01-06 21:08:01 -05:00
Termuellinator
8e28327e0f added /usr/share/lug-helper path for lutris json for easier packaging 2022-01-06 15:10:10 +01:00
Termuellinator
156a0884d4 added /usr/share/lug-helper path for lutris json for easier packaging 2022-01-06 15:05:24 +01:00
the Sane
809efb6a54
Add more referral codes! 2022-01-01 21:51:13 -05:00
the Sane
5afa8e7c19
Improve post download handling 2022-01-01 16:12:14 -05:00
the Sane
49079818f6
Rearrange some functions 2022-01-01 15:52:53 -05:00
the Sane
227038a289
Check for installed wine in the pre-flight check 2022-01-01 15:37:51 -05:00
the Sane
8f53957f3c
Improve messages 2022-01-01 15:17:07 -05:00
the Sane
662d78a021
Add install to command line arguments 2022-01-01 13:03:09 -05:00
the Sane
d10a84c5fe
Yet -_- 2022-01-01 12:56:13 -05:00
the Sane
35e63f5bd5
Clarify messaging 2022-01-01 12:49:07 -05:00
the Sane
f3166c77da
Integrate EAC workaround from eac branch
Seems like it's going to take them a while to fix it, so
2021-12-29 18:11:33 -05:00
the Sane
5df5cb210d
Update lutris install json filename 2021-12-28 15:58:52 -05:00
the Sane
dedefebd2d
Add installer using a bundled lutris json 2021-12-28 15:40:45 -05:00
the Sane
d24e8b590b
Bump version 2021-12-24 14:46:38 -05:00
Michael Clasen
3daeb0b3b1
Update lug-helper.sh
fixed raw-wine repo path
2021-12-24 02:01:11 +01:00
the Sane
e8c93196ff
Specify license 2021-12-21 19:52:32 -05:00
the Sane
1561e1a9f6
Bump version 2021-11-27 20:28:40 -05:00
the Sane
a0110720f6
Improve version checker 2021-11-27 20:28:11 -05:00
the Sane
c1af0383f2
Bump version number 2021-11-27 00:27:41 -05:00
the Sane
74c5bd2275
Add dxvk manager to command line arguments
Fixes #25
2021-11-27 00:17:24 -05:00
the Sane
48d49dd438
Update repo url 2021-11-25 14:08:23 -05:00
the Sane
f080ae2bca
Fix syntax 2021-11-21 21:24:57 -05:00
the Sane
72677ff7d5
Additional referral code 2021-11-19 10:58:49 -05:00
the Sane
42f9992abf
Revert EAC workaround on master branch
Track changes in a dedicated branch
2021-11-16 12:57:17 -05:00
the Sane
786e3f4c13
Easy Anti-Cheat workaround 2021-11-16 12:49:09 -05:00
the Sane
08285946c8
Add more referral codes 2021-11-14 17:24:52 -05:00
the Sane
dafc53615d
Display actual mapcount and file limits on system 2021-11-14 12:13:10 -05:00
the Sane
3f72676c71
Additional referral code 2021-11-11 23:40:24 -05:00
the Sane
3d7702dfdd
Additional referral code 2021-11-11 09:53:39 -05:00
the Sane
7ae0bcf330
Add additional referral code 2021-11-10 15:05:25 -05:00
the Sane
8ce1a9a8ea
Use better variable names 2021-11-10 15:04:48 -05:00
Matthias Müller
431df4aabd Corrected debug message 2021-11-08 12:57:00 +01:00
the Sane
9f2c72042e
Ensure extracted directory matches archive name
This is how we detect installed items in download_select_install()
2021-10-28 12:30:39 -04:00
the Sane
25b122e891
Improve comments 2021-10-28 02:18:15 -04:00
the Sane
a76c3d0a1a
Improve post download messages 2021-10-28 02:02:48 -04:00
the Sane
25a773602e
Add post-download instructions 2021-10-28 00:35:43 -04:00
the Sane
d5d7f75dde
Cleanup redundant code 2021-10-27 23:54:51 -04:00
the Sane
44bcbf8161
Improve comments 2021-10-27 23:28:21 -04:00
the Sane
acad90a0a5
Rewrite download_install function 2021-10-27 22:30:39 -04:00
the Sane
77c6fd46bb
Bump version 2021-10-27 20:53:41 -04:00
the Sane
5c112831e0
Refactor runner and dxvk downloading 2021-10-27 20:53:11 -04:00
the Sane
274c674681
Improve archive subdirectory handling 2021-10-24 12:29:55 -04:00
the Sane
cf491f9151
Add dxvk releases from /dev/null 2021-10-24 12:01:38 -04:00
the Sane
199e548767
Bump version 2021-10-18 20:38:07 -04:00
the Sane
8087ffe564
Add dxvk directory to display_dirs 2021-10-18 15:31:59 -04:00
the Sane
4ad9603aa3
Download and install DXVK versions 2021-10-18 15:27:49 -04:00
the Sane
709cb6dbae
Bump version number 2021-10-11 10:26:31 -04:00
the Sane
810f21415e
Must be beautiful! 2021-10-11 10:25:25 -04:00
the Sane
3e982b3303
Fix syntax 2021-10-11 10:10:20 -04:00
the Sane
cfeb3a841f
Update contributors 2021-10-11 09:36:14 -04:00
the Sane
b64eaf88c5
Add referral code 2021-10-11 09:28:15 -04:00
the Sane
e8d96c45a0
Fix previous sanity check 2021-10-10 22:16:02 -04:00
the Sane
d8826f608c
Add sanity check 2021-10-10 22:12:28 -04:00
the Sane
07a99d3aa1
Add show directories to command line arguments 2021-10-10 22:06:00 -04:00
the Sane
b4791a0b7d
Formatting 2021-09-24 10:11:10 -04:00
the Sane
e43a59ce7b
Add moar referral codes! 2021-09-20 15:43:26 -04:00
the Sane
fc98118ac5
List directories used by the helper and game 2021-09-19 23:13:46 -04:00
the Sane
4fd9fec8f7
Fix version number (don't ask) 2021-09-18 16:33:06 -04:00
the Sane
130704107b
Bump version 2021-09-18 16:31:37 -04:00
the Sane
15cad464e3
Remove extraneous / from path 2021-09-18 16:22:50 -04:00
the Sane
cabfd03c29
Bump version number 2021-09-18 15:52:41 -04:00
the Sane
33170fae78
Add better cancel button labels
Closes #22
2021-09-18 15:51:57 -04:00
the Sane
b701ea5e3d
Fix gzip error for non-gzip archives 2021-09-18 15:27:51 -04:00
the Sane
05d75ec82f
Ignore sha512sum files when creating download list 2021-09-18 15:17:39 -04:00
the Sane
2f97a8eb2d
Revert "ignoring .sha512sum files in runner release pages" and "solving trying to download the .sha512sum as archive"
Reverts commits c07e673 and 675621c.
2021-09-18 15:14:40 -04:00
the Sane
cb3fc5d0d7
Reorganize version checker 2021-09-18 13:10:44 -04:00
the Sane
c42d459ef2
Minor syntax, formatting, and organizational tweaks 2021-09-18 12:57:22 -04:00
Termy
675621c4c3 solving trying to download the .sha512sum as archive 2021-07-28 11:08:28 +02:00
Termy
c07e673c0d ignoring .sha512sum files in runner release pages 2021-07-27 20:32:07 +02:00
Termy
b85df29d6d Revert "ignoring .sha512sum files in runner release pages"
This reverts commit 7f3d84a8bc.
2021-07-27 20:31:02 +02:00
Termy
7f3d84a8bc ignoring .sha512sum files in runner release pages 2021-07-27 20:29:02 +02:00
Wrzlprnft
c7c8cd1ecd
fix locale causing memory preflight check to fail
if the locale uses a decimal `,` instead of `.`, the memory preflight check fails
fix provided by @gort818
2021-07-19 16:01:38 +02:00
Termy
e0d149494d added script version check and glibc version check for /dev/null 2021-06-15 15:34:40 +02:00
Termy
9800420d73 added GloriousEggrolls lutris-Builds - thanks to Eutyches 2021-06-08 17:09:25 +02:00
Termy
eae146ce02 added support for the new directory structure in 3.13 and check for sudo 2021-04-25 15:11:04 +02:00
the Sane
b4248fb264
Additional referral code 2021-03-21 14:51:53 -04:00
the Sane
d5dbec7b3f
Refactor directory handling 2021-03-13 12:21:46 -05:00
the Sane
d4e8298743
Refactor directory paths
Preparation for upcoming changes to the game's directory structure
2021-03-13 09:59:28 -05:00
the Sane
8ee730bf35
More referral codes! 2021-02-27 12:55:48 -05:00
the Sane
b6eea7b224
Fix the fix 2021-02-20 18:07:08 -05:00
the Sane
c9c3c07866
Fix formatting 2021-02-20 18:06:49 -05:00
the Sane
2e883423d3
Spacing 2021-02-20 18:05:02 -05:00
the Sane
12a3a51eb4
Add preflight check section comments 2021-02-20 18:04:34 -05:00
the Sane
aec6ffbfc0
Fix floating point math 2021-02-20 18:01:13 -05:00
the Sane
96b15262f5
You saw nothing.
*jedi mind wipe*
2021-02-16 14:49:45 -05:00
the Sane
a2397c28f0
Add preflight check for AVX 2021-02-16 14:23:14 -05:00
the Sane
e8891b42e6
Add referral code 2021-02-12 19:34:12 -05:00
the Sane
b22e84887e
Improve argument handling 2021-01-31 11:33:31 -05:00
the Sane
bfc2822a35
Rename variable for clarity 2021-01-31 11:11:38 -05:00
the Sane
dfe15f8e78
Improve command line argument processing 2021-01-31 11:10:23 -05:00
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
the-sane
168f9341c6
Better location check for backup path 2020-11-21 09:29:30 -05:00
the-sane
2f31e88f62
Rename/refactor some variables & POSIX compliance 2020-11-21 08:59:10 -05:00
the-sane
5bad74bfa6
Better backup directory prompts 2020-11-21 08:42:07 -05:00
the-sane
2fda35d5cb
Allow “StarCitizen” without spaces as gamedir 2020-11-20 09:46:54 -05:00
the-sane
12fcc9e057
Correctly reload files from /etc/sysctl.d/* 2020-11-07 12:17:54 -05:00
the-sane
14f8a8a822
Rename functions for consistency 2020-09-07 21:59:34 -04:00
the-sane
24b81ffa26
Use bulletproof vulcan logic, not dumb human logic 2020-09-07 21:34:21 -04:00
the-sane
2b15bb771f
Use words for message types instead of numbers 2020-09-07 20:38:39 -04:00
the-sane
632ce7f506
Sanity check message function arguments 2020-09-07 20:36:26 -04:00
the-sane
e3f3a64fe5
Use words for message types instead of numbers 2020-09-07 20:30:28 -04:00
the-sane
37223e0d8b
More menu refactoring 2020-09-07 19:42:18 -04:00
the-sane
6b17322d9e
Rename mapcount functions for consistency 2020-09-07 18:54:30 -04:00
the-sane
3953622498
Refactor menu code 2020-09-07 18:51:19 -04:00
the-sane
de1e06b32c
Increase friendliness 2020-09-05 08:56:41 -04:00
the-sane
afb1cde2d2
Fix typo 2020-09-05 08:12:11 -04:00
the-sane
6b74615697
End quote 2020-09-05 08:03:23 -04:00
the-sane
a81035accc
Verify after the prompt 2020-09-03 21:20:06 -04:00
the-sane
50e1e838d9
Set hard file limit 2020-09-03 20:56:53 -04:00
the-sane
2b5cdbb56b
Add instructions for setting the file limit 2020-08-23 21:25:49 -04:00
the-sane
7aa701a69d
Change file limit message 2020-08-23 14:21:51 -04:00
the-sane
26351b50c0
Prompt before delete 2020-08-23 10:01:38 -04:00
the-sane
7effc04a68
First iteration of open file descriptors checker 2020-08-23 09:27:46 -04:00
the-sane
07750d831d
Require bash 2020-08-22 08:18:05 -04:00
the-sane
deed3cb734
Improve messages 2020-08-21 21:43:50 -04:00
the-sane
81ba3eddff
Improve comments 2020-08-21 21:24:26 -04:00
the-sane
913e6a693c
Extra sanity checks, fix variables 2020-08-21 21:02:16 -04:00
the-sane
745bf715d2
DXVK cache only 2020-08-21 18:49:28 -04:00
the-sane
3bc2958e9c
Cleanup & consistency 2020-08-18 21:19:26 -04:00
the-sane
1a9544bc63
Quit menu option isn't needed, just click the cancel button 2020-08-17 22:05:34 -04:00
the-sane
fa5993be8d
Toggle between LIVE and PTU 2020-08-17 21:57:24 -04:00
the-sane
6a113e00ab
WIP delete caches and shaders 2020-08-17 17:53:25 -04:00
the-sane
b5cb3bcf74 chmod +x 2020-08-16 20:59:40 -04:00
the-sane
24cba9717b
tidy up message 2020-08-16 20:10:31 -04:00
the-sane
b42b87582f
Store sysctl messages in variables 2020-08-15 12:23:25 -04:00
the-sane
c6c5cc8c45
Use switch statements. Add message documentation comments. 2020-08-15 11:22:44 -04:00
the-sane
d5b361b790
Remove trap exit; call function directly. Update messages for clarity. 2020-08-15 11:01:54 -04:00