derrod
f902963b1a
[core] Reword exe override suggestion
2022-06-01 10:38:36 +02:00
derrod
46bda313d6
[core] Suggest alternative executables when 2K launcher is found
2022-06-01 10:11:16 +02:00
derrod
e52223c3ce
[core] Change disk space warning to GiB
2022-06-01 09:44:41 +02:00
derrod
a3bc07e15a
[core/utils] Add automatic exe overrides to workarounds
2022-06-01 09:42:01 +02:00
derrod
60a504edde
[core] Add warning if 2K Launcher is the launch executable
2022-06-01 09:40:25 +02:00
derrod
2ef5401dbb
[core] Only install into Applications if all files are inside app bundle
2022-05-23 07:45:56 +02:00
derrod
1e97a4d791
[cli/core] Only check CX_BOTTLE when using CrossOver wine
...
Addresses issues pointed out in #414
2022-05-23 07:45:56 +02:00
derrod
869c749908
[core] Return empty games list if assets empty
2022-01-21 17:47:54 +01:00
derrod
158b28eaff
[core] Add "epicsandboxid" launch parameter
...
EGL seems to have added this at some point.
Omitting it doesn't seem to break anything.
But better safe than sorry.
2022-01-18 16:10:12 +01:00
derrod
778ecacbd3
[core] Apply disable_https to manifest downloads as well
...
Since we know the hash ahead of time this is relatively low-risk.
Delta manifests don't have an associated API call that would tell us
the hash, so still use HTTPS for those unless the base url is overridden.
2022-01-18 10:25:04 +01:00
derrod
180692195f
[core] Catch FileNotFoundError when removing synced EGL manifest
2022-01-18 10:16:06 +01:00
derrod
3bc819e567
[core] Check install directory for write access
...
Fixes #395
2022-01-10 17:14:30 +01:00
derrod
742d3a3b05
[core] Verify CDN manifest hash
2022-01-10 17:00:45 +01:00
derrod
a25de242d9
[cli/core/models] Add config option for pre-launch command
2022-01-09 14:21:11 +01:00
derrod
49cc8db22f
[core] Add None check to get_game_tip()
2022-01-08 22:10:01 +01:00
derrod
8d28945e8b
[cli/core] Optionally show link to wiki article on game install
...
This is supposed to make setup easier for games with know issues.
Perhaps in the future this can also be shown on launch.
2022-01-07 16:38:52 +01:00
derrod
cf8bccc569
[core] Final adjustments to default path, separate config option for Mac
2022-01-07 13:51:25 +01:00
derrod
df1c3e6a3c
[core] Handle legacy AppData paths on Linux and Mac
2022-01-05 19:56:01 +01:00
derrod
48baba6adc
[core] Try to resolve legacy AppData paths when using CrossOver
2022-01-05 19:56:01 +01:00
derrod
b30de01cc7
[core] Also look for CrossOver bottle in get_save_path
2022-01-05 19:56:00 +01:00
derrod
4bccd460ad
[core] Create parent directories of symlinks if required
2022-01-05 14:24:46 +01:00
derrod
de3f3f93af
[cli] Do not try to delete (~)/Applications on macOS
...
It would fail, but is not considered polite either.
2022-01-04 15:39:24 +01:00
derrod
840210040f
[core] Use ~/Applications on Mac, only omit game folder for .app root dirs
2022-01-04 15:31:48 +01:00
derrod
005089ee9b
[core] Adjust default install paths
...
- Native Mac apps should go into /Applications
- On Windows we keep %USERPROFILE%\legendary for now
- On Linux we use ~/Games/legendary now to keep the home folder more tidy
2022-01-04 15:11:43 +01:00
derrod
8e4bb8d3dd
[core] Fix required disk space calculation, once and for all
2022-01-02 13:08:14 +01:00
derrod
05aac59836
[cli/core] Allow bottle downloads to specify a base url
2021-12-31 21:24:47 +01:00
derrod
8a9ca14391
[core] Remove unnecessary os check
2021-12-31 18:56:30 +01:00
derrod
0298a53315
[cli/core/utils] Add (janky) EOS overlay install support on non-Windows
2021-12-31 18:48:07 +01:00
derrod
ecb230511f
[core/utils] Clean up crossover bottle code a bit
2021-12-31 17:46:15 +01:00
derrod
cd74af8832
[core] Fix remove_bottle parameters
2021-12-30 19:04:44 +01:00
derrod
0f481e1f31
[core/utils] Remove missing folder creation
...
Instead, the manifest will just use zero-byte ".keep" files in empty
folders, so they are still created when a bottle is downloaded.
2021-12-30 18:09:11 +01:00
derrod
013792f7b9
[cli/core/utils] Add experimental automatic bottle setup
...
Not sure if this will make it into the release yet, but
it doesn't seem like a bad idea. And it should work even
if the user has never run CrossOver.
It's quite a lot of work to package a bottle this way
(read: not including personal data, and without broken symlinks)
2021-12-30 17:21:56 +01:00
derrod
03ef95923d
[api/cli/core] Make API timeout configurable
2021-12-30 12:03:43 +01:00
derrod
dd099c0afd
[core] Change overlay install path
2021-12-30 11:52:23 +01:00
derrod
2adc0b1a3e
[core] Avoid unnecessary disk writes when assets didn't change
2021-12-29 20:29:07 +01:00
derrod
3d877185b0
[core] Add support for launching via CrossOver
2021-12-29 13:21:34 +01:00
derrod
0e4ab85b2f
[core] Do not attempt to load overlay info on non-Windows systems
2021-12-29 11:32:11 +01:00
derrod
bc1c27b8d2
[core] Ignore path parameter if overlay is already installed
2021-12-28 19:21:33 +01:00
derrod
8d71df0cc4
[cli/core/lfs] Add update check for installed overlay
2021-12-28 17:48:24 +01:00
derrod
efaf25b9d9
[cli/core/lfs] Add EOS overlay management command/backend
...
- Supports installing and updating the overlay
- Supports enabling/disabling the overlay
- Can find existing EGL overlay for enabling/disabling
- Should work!
2021-12-28 17:47:48 +01:00
derrod
fbb4acbc88
[core] Add option to force refresh token instead of session resumption
2021-12-28 10:57:22 +01:00
derrod
3e4c70ece2
[core] Only use installed manifest for repair if it actually exists
...
Fixes #380
2021-12-20 23:15:47 +01:00
derrod
c3ade2994e
[cli/core/utils] Re-enable SDL for Mac platform
...
Currently, this only affects Fortnite and UE.
2021-12-17 01:25:24 +01:00
derrod
57d88b2db4
[core] Fix non-threaded metadata updates
2021-12-08 00:44:24 +01:00
derrod
9d18ef03fa
[cli/core/models] Add property for partner link id/type
2021-12-06 18:10:30 +01:00
derrod
694a275dac
[core] Fix platform linking warning
2021-12-03 18:08:21 +01:00
derrod
c8189460c2
[cli/core] Fix some plurals
2021-12-03 17:21:48 +01:00
derrod
1c8349a28e
[core] Do not show fetching metadata message unless there's data to fetch
2021-12-03 17:14:45 +01:00
derrod
20f934dc12
[core] Avoid unnecessary copy()
2021-12-03 16:27:19 +01:00
derrod
8dadf3c1a1
[core] Do not delete unused asset information when updating
...
Previously this would remove asset information for platforms not
currently in-use. This change retains those, but doesn't update
them if they're not required.
2021-12-03 16:27:00 +01:00