Commit Graph

12 Commits

Author SHA1 Message Date
Kovid Goyal
95c8bbd7fb
Forgot to increment token 2020-08-22 14:37:51 +05:30
Kovid Goyal
4202eee084
Fix launcher on OpenBSD
OpenBSD has apparently refused to move into the 21st century and lacks a
way of determining path to the executable. So we use a kludge, looking
for kitty in PATH and using that. To make it work, simply put a symlink
to kitty somewhere in PATH. Fixes #2675
2020-08-22 09:12:50 +05:30
Kovid Goyal
26699cd9ef
Fix incorrect format specifier to printf
Detected by code scanning
2020-07-07 09:14:33 +05:30
Kovid Goyal
d173ab9f45
macOS: Fix the LC_TYPE env var being set to UTF-8 on systems in which the language and country code do not form a valid locale
Fixes #1233
2020-06-24 22:09:25 +05:30
Luflosi
c8efcd2be1
Remove unused macro 2020-06-19 14:31:58 +02:00
Kovid Goyal
d0329460b8
Fix #2573 2020-04-21 22:04:34 +05:30
Kovid Goyal
9b58317fb1
Better fix for kitty not getting key events when launched via a symlink on macOS
Avoids the overhead of checking for a symlink and re-execing.
Apparently all that was needed was setting the correct activation
policy, glfw is supposed to do this but does it only if the menubar hint
is on, which we turn off as we create our own menubar.
2019-07-18 16:00:16 +05:30
Luflosi
1b59761a19
Only #include <sys/stat.h> on macOS
The `<sys/stat.h>` include in `launcher.c` is only used to check if the executable is a symlink on macOS. Therefore it is not needed on other platforms.
2019-06-26 14:05:35 +02:00
Kovid Goyal
9135387cfa
Get rid of the various different launchers
Now there is only one launcher. Which means it can be used to start
kitty with profiling and ASAN in the natural way. The recommended
way to run kitty from source is now:

./kitty/launcher/kitty

The launcher also automatically re-execs to resolve symlinks on macOS.
2019-06-24 17:21:30 +05:30
Luflosi
ab7df777eb
Fix copy & paste error 2019-06-22 17:52:26 +02:00
Kovid Goyal
8f8a37bf94
Fix #1678 2019-06-04 14:14:12 +05:30
Luflosi
581deb6073
Rename linux-launcher -> launcher
Since the launcher is also used on macOS, rename it to something more generic.
2019-05-18 19:13:56 +02:00