Skip to content

Commit

Permalink
Switch to auto adding blight-client
Browse files Browse the repository at this point in the history
  • Loading branch information
Eeems committed Jan 29, 2024
1 parent cd7427e commit cb87ca6
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions applications/system-service/application.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -647,11 +647,9 @@ void Application::updateEnvironment(){
if(!preload.contains(sysfs_preload)){
preload.append(sysfs_preload);
}
if(deviceSettings.getDeviceType() == Oxide::DeviceSettings::RM2){
QString rm2fb_client("/opt/lib/librm2fb_client.so");
if(!preload.contains(rm2fb_client)){
preload.append(rm2fb_client);
}
QString blight_client("/opt/lib/libblight_client.so");
if(!preload.contains(blight_client)){
preload.append(blight_client);
}
env.insert("LD_PRELOAD", preload.join(":"));
for(auto key : environment().keys()){
Expand Down

0 comments on commit cb87ca6

Please sign in to comment.