mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-22 14:13:57 -06:00
Fixed gcodeviewer application title on Linux and Mac
This commit is contained in:
parent
2ecd78b0d5
commit
ce0312acbd
3 changed files with 3 additions and 8 deletions
|
@ -2,6 +2,9 @@
|
||||||
#define _libslic3r_h_
|
#define _libslic3r_h_
|
||||||
|
|
||||||
#include "libslic3r_version.h"
|
#include "libslic3r_version.h"
|
||||||
|
#define GCODEVIEWER_APP_NAME "PrusaSlicer G-code Viewer"
|
||||||
|
#define GCODEVIEWER_APP_KEY "PrusaSlicerGcodeViewer"
|
||||||
|
#define GCODEVIEWER_BUILD_ID std::string("PrusaSlicer G-code Viewer-") + std::string(SLIC3R_VERSION) + std::string("-UNKNOWN")
|
||||||
|
|
||||||
// this needs to be included early for MSVC (listing it in Build.PL is not enough)
|
// this needs to be included early for MSVC (listing it in Build.PL is not enough)
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
|
|
@ -6,8 +6,4 @@
|
||||||
#define SLIC3R_VERSION "@SLIC3R_VERSION@"
|
#define SLIC3R_VERSION "@SLIC3R_VERSION@"
|
||||||
#define SLIC3R_BUILD_ID "@SLIC3R_BUILD_ID@"
|
#define SLIC3R_BUILD_ID "@SLIC3R_BUILD_ID@"
|
||||||
|
|
||||||
#define GCODEVIEWER_APP_NAME "@GCODEVIEWER_APP_NAME@"
|
|
||||||
#define GCODEVIEWER_APP_KEY "@GCODEVIEWER_APP_KEY@"
|
|
||||||
#define GCODEVIEWER_BUILD_ID "@GCODEVIEWER_BUILD_ID@"
|
|
||||||
|
|
||||||
#endif /* __SLIC3R_VERSION_H */
|
#endif /* __SLIC3R_VERSION_H */
|
||||||
|
|
|
@ -7,7 +7,3 @@ set(SLIC3R_VERSION "2.3.0-alpha0")
|
||||||
set(SLIC3R_BUILD_ID "PrusaSlicer-${SLIC3R_VERSION}+UNKNOWN")
|
set(SLIC3R_BUILD_ID "PrusaSlicer-${SLIC3R_VERSION}+UNKNOWN")
|
||||||
set(SLIC3R_RC_VERSION "2,3,0,0")
|
set(SLIC3R_RC_VERSION "2,3,0,0")
|
||||||
set(SLIC3R_RC_VERSION_DOTS "2.3.0.0")
|
set(SLIC3R_RC_VERSION_DOTS "2.3.0.0")
|
||||||
|
|
||||||
set(GCODEVIEWER_APP_NAME "Prusa GCode Viewer")
|
|
||||||
set(GCODEVIEWER_APP_KEY "PrusaGCodeViewer")
|
|
||||||
set(GCODEVIEWER_BUILD_ID "Prusa GCode Viewer-${SLIC3R_VERSION}+UNKNOWN")
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue