Commit Graph

29 Commits

Author SHA1 Message Date
Robbert van der Helm c1b23b90a2 [yabridgectl] Expand libyabridge* auto detection
There are no yabridge packages for Debian and Fedora based distros, but
we'll now also search through the paths used there.
2021-02-06 21:09:30 +01:00
Robbert van der Helm c206d68b12 [yabridgectl] Allow permanently disabling checks 2021-01-02 14:32:54 +01:00
Robbert van der Helm 34f8d3b1d2 Update the copyright notices for 2021 2021-01-01 18:54:02 +01:00
Robbert van der Helm 55957ca798 [yabridgectl] Allow setting up VST3 plugins
This is still missing checks for removing leftover files, symlinks for
resources and presets, and a way to differentiate between plugins with
the same name from different prefixes.
2020-12-24 00:04:05 +01:00
Robbert van der Helm 5e476a2f9b [yabridgectl] Add utilities for VST3 paths 2020-12-23 21:40:11 +01:00
Robbert van der Helm 3d27426b9d [yabridgectl] Index .vst3 files
It doesn't actually identify VST3 modules yet though.
2020-12-23 18:39:22 +01:00
Robbert van der Helm 3dc1b1585b [yabridgectl] Add field for indexing VST3 modules 2020-12-23 17:41:16 +01:00
Robbert van der Helm a7d284469a [yabridgectl] Locate libyabridge-vst3.so
And unify how finding files in yabridgectl works.
2020-12-23 17:12:28 +01:00
Robbert van der Helm 9d40e04a62 Update all references to libyabridge.so 2020-12-07 18:28:16 +01:00
Robbert van der Helm a428d08eff Update yabridgectl for libyabridge-vst2.so 2020-12-07 18:28:16 +01:00
Robbert van der Helm c69037b649 Always search for host in ~/.local/share/yabridge 2020-11-20 14:24:42 +01:00
Robbert van der Helm f67e1923cc Also search through /usr/local/lib in yabridgectl
For automatic path detection. It's still not recommended to install
yabridge there, but if you know what you're doing then this would at
least be a good default to have.
2020-09-27 13:33:53 +02:00
Robbert van der Helm f02dbb3755 Fix TOML parsing with large unsigned integers
The parser parses everything as signed integers so the configuration
file will fail to parse large numbers that don't fit in an i64.

https://github.com/alexcrichton/toml-rs/issues/256
2020-07-27 16:25:36 +02:00
Robbert van der Helm 6bba1a9bf8 Check for Wine and yabridge compatibility on sync
This will probably solve the last common setup issue. Starting Wine can
take a second so this check is only repeated when either Wine or
yabridge get updated.
2020-07-19 16:57:18 +02:00
Robbert van der Helm a8e914a71a Add a last known config field to the configuration
For verifying that a combination of Wine and yabridge is going to work
together properly.
2020-07-19 14:39:07 +02:00
Robbert van der Helm 8698a8fd0b Update messages in yabridgectl 2020-07-16 19:07:34 +02:00
Robbert van der Helm 836aefcfbb Verify that the PATH has been set up correctly
When creating copies with yabridgectl. This should at least give an
advance warning that some additional steps are required when first
setting up yabridge.
2020-07-16 16:56:27 +02:00
Robbert van der Helm 2ec53c78d9 Add a descriptive error when winedump is missing 2020-07-16 15:04:07 +02:00
Robbert van der Helm 1ee2fe4746 Use anyhow for formatting and handling errors
This works better than doing it manually, and it significantly reduces
the amount of boilerplate needed.
2020-07-16 14:43:00 +02:00
Robbert van der Helm f48b5e66ca Move all subcommand handlers to a module
To unclutter in main.rs a bit.
2020-07-16 13:43:50 +02:00
Robbert van der Helm ac5c6bab67 Show the installation method used 2020-07-15 16:10:52 +02:00
Robbert van der Helm 53ebfcd463 Implement yabridgectl sync 2020-07-14 22:26:23 +02:00
Robbert van der Helm 26f26fc21c Implement the status command 2020-07-14 18:35:54 +02:00
Robbert van der Helm b8eb031c77 Store paths in a BTreeSet
To avoid duplicates and to ensure that the order is stable.
2020-07-14 17:16:30 +02:00
Robbert van der Helm 3a7fd089b6 Add subcommands for managing directories 2020-07-14 16:46:49 +02:00
Robbert van der Helm f288bbb980 Fix yabridgectl config file loading 2020-07-14 16:36:56 +02:00
Robbert van der Helm 5f2cb434bc Fix searching for libyabridge.so in ~/.local/share 2020-07-13 16:23:49 +02:00
Robbert van der Helm 21d48c3022 Implement reading and writing of config files 2020-07-13 14:31:45 +02:00
Robbert van der Helm 4537b6a5b0 Add the configuration struct for yabridgectl 2020-07-13 13:26:09 +02:00