mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-11 02:01:53 -07:00
@@ -50,6 +50,7 @@ void DataState::addNewPluginRepo(const SPluginRepository& repo) {
|
|||||||
};
|
};
|
||||||
for (auto& p : repo.plugins) {
|
for (auto& p : repo.plugins) {
|
||||||
// copy .so to the good place
|
// copy .so to the good place
|
||||||
|
if (std::filesystem::exists(p.filename))
|
||||||
std::filesystem::copy_file(p.filename, PATH + "/" + p.name + ".so");
|
std::filesystem::copy_file(p.filename, PATH + "/" + p.name + ".so");
|
||||||
|
|
||||||
DATA.emplace(p.name, toml::table{
|
DATA.emplace(p.name, toml::table{
|
||||||
|
Reference in New Issue
Block a user