mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-05-14 13:02:39 -07:00
Fixing Linux build
This commit is contained in:
@@ -66,11 +66,11 @@ static void start_new_slicer_or_gcodeviewer(const NewSlicerInstanceType instance
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif // __linux
|
#endif // __linux
|
||||||
std::string bin_path;
|
std::string my_path;
|
||||||
if (args.empty()) {
|
if (args.empty()) {
|
||||||
// Binary path was not set to the AppImage in the Linux specific block above, call the application directly.
|
// Binary path was not set to the AppImage in the Linux specific block above, call the application directly.
|
||||||
bin_path = (own_path.parent_path() / ((instance_type == NewSlicerInstanceType::Slicer) ? "prusa-slicer" : "prusa-gcodeviewer")).string();
|
my_path = (bin_path.parent_path() / ((instance_type == NewSlicerInstanceType::Slicer) ? "prusa-slicer" : "prusa-gcodeviewer")).string();
|
||||||
args.emplace_back(bin_path.c_str());
|
args.emplace_back(my_path.c_str());
|
||||||
}
|
}
|
||||||
std::string to_open;
|
std::string to_open;
|
||||||
if (path_to_open) {
|
if (path_to_open) {
|
||||||
|
|||||||
Reference in New Issue
Block a user