Compare commits
2 Commits
3d1efd6735
...
d4f83e11db
| Author | SHA1 | Date | |
|---|---|---|---|
|
d4f83e11db
|
|||
|
db588bd57b
|
12
flake.nix
12
flake.nix
@ -276,7 +276,17 @@ rec {
|
||||
|
||||
# The wrapper enters the correct working dir, so fonts/shaders/presets are available
|
||||
mkdir -p $out/bin
|
||||
makeWrapper $out/lib/${pname} $out/bin/${pname} --chdir "${placeholder "out"}/lib"
|
||||
makeWrapper $out/lib/${pname} $out/bin/${pname} --chdir "$out/lib"
|
||||
|
||||
# Generate a .desktop file
|
||||
mkdir -p $out/share/applications
|
||||
cat <<INI > $out/share/applications/${pname}.desktop
|
||||
[Desktop Entry]
|
||||
Terminal=true
|
||||
Name=PuzzleSpaces
|
||||
Exec=$out/bin/${pname} %f
|
||||
Type=Application
|
||||
INI
|
||||
'';
|
||||
};
|
||||
|
||||
|
||||
@ -16,7 +16,6 @@
|
||||
#include <tracy/Tracy.hpp>
|
||||
#endif
|
||||
|
||||
#ifdef THREADPOOL
|
||||
#if defined(_WIN32)
|
||||
#define NOGDI // All GDI defines and routines
|
||||
#define NOUSER // All USER defines and routines
|
||||
@ -28,7 +27,6 @@
|
||||
#undef near
|
||||
#undef far
|
||||
#endif
|
||||
#endif
|
||||
|
||||
// Window
|
||||
constexpr int INITIAL_WIDTH = 600;
|
||||
|
||||
Reference in New Issue
Block a user