Kovid Goyal
cab1ba4e50
Use sys._xoptions to pass bundle_exe_dir
...
This allows it to be used with the make app kitty bundle as well.
This makes it robust against launching in environments where
python3 is not on PATH. See #1280
2019-05-01 08:45:01 +05:30
Kovid Goyal
a2f589be00
Make use of realpath() safer
2019-05-01 07:55:03 +05:30
Kovid Goyal
9963e78636
Linux: Ensure that the python embedded in the kitty binary build always uses UTF-8 mode
...
Fixes #924
2018-09-08 23:03:36 +05:30
Kovid Goyal
29f9394257
...
2018-07-29 13:06:26 +05:30
Kovid Goyal
8fd92df7ae
Also fix launcher for netbsd
2018-07-29 12:54:24 +05:30
Kovid Goyal
374f7abb5d
Fix package launcher for FreeBSD
...
Fixes #763
2018-07-29 12:52:24 +05:30
Kovid Goyal
d89861f601
Code to support the linux bundle
2018-05-31 23:02:38 +05:30
Kovid Goyal
2bf8e1b1a3
Allow the name of the lib directory in linux-package to be configurable. Fixes #372
2018-03-12 08:10:53 +05:30
Kovid Goyal
e716f6d35e
Replace deprecated ASL with os_log on macOS
2018-03-04 12:28:06 +05:30
Kovid Goyal
fd6159c0b4
Redirect stderr/stdout to console.app when launched via launchd on macOS
2018-03-04 10:17:43 +05:30
Kovid Goyal
236c92b2b4
No longer use a shell script for the wrapper .app
2018-01-11 08:40:35 +05:30
Kovid Goyal
6dde573ed9
Fix __name__ != __main__ when using runpy in the osx-bundle
2018-01-10 08:31:22 +05:30
Kovid Goyal
2e570e21a0
Ensure kitty is on the PATH when running from kitty.app
2017-12-12 23:29:01 +05:30
Kovid Goyal
a922b4c789
Add instrumentation to analyse kitty performance
2017-08-26 10:24:12 +05:30
Kovid Goyal
3911f18fd9
Startup in the home directory when launched by launch services
2017-02-02 15:07:13 +05:30
Kovid Goyal
af1f3cc7c7
More robust in bundle launcher
...
Ignores environment, user settings. Should minimize the chances of
conflict with any other python installations on the system.
2017-02-02 14:26:26 +05:30
Kovid Goyal
543af0dd89
Implement building OS X bundle
...
In order for @executable_path resolution to work the launcher has
to link against the python dll rather than running the python
executable.
2017-02-02 12:04:52 +05:30
Kovid Goyal
05bcc23f09
Make linux-launcher work on OS X as well
2017-01-12 11:30:09 +05:30
Kovid Goyal
8f03e5b0a4
DRYer
2017-01-09 12:39:14 +05:30
Kovid Goyal
a2b2a2546b
Print out an error message if launching python3 fails
2017-01-09 12:16:37 +05:30
Kovid Goyal
285c53cc67
Use realpath() rather than readlink()
2017-01-09 12:13:16 +05:30
Kovid Goyal
46cbcc5dfb
Forgot to add this file in the last commit
2017-01-09 10:39:06 +05:30