Commit graph

11 commits

Author SHA1 Message Date
Wojtek Mach
1b978b43f4
Start desktop app in home directory () 2022-07-28 15:40:55 +02:00
Wojtek Mach
f84bdaa5a2
Bind to random port in the desktop app () 2022-07-20 14:02:38 +02:00
Wojtek Mach
4ec919f60b
App bundling improvements () 2022-07-18 11:51:17 +02:00
José Valim
c6286e8630 Add RELEASE_NODE to all envs 2022-07-06 21:05:53 +02:00
Wojtek Mach
789a44a7da
Convert Mac launcher to a Cocoa app ()
1. Add `:event_handler` app option. It is a process that will receive
   the app events, the `:open_app`, `{:open_url, url}`, and
   `{:open_file, path}` messages.

2. Add `AppBuilder.init/0`. This reads the `APP_BUILDER_INPUT` env
   variable which contains the app event the release was started with.

3. Use <https://github.com/wojtekmach/otp/tree/wm-WX_MACOS_NON_GUI_APP>
   branch which contains wx fix that hasn't been merged yet.
2022-07-06 19:27:06 +02:00
José Valim
5acbd2efad
Add LIVEBOOK_SHUTDOWN_ENABLED ()
* Add LIVEBOOK_SHUTDOWN_ENABLED

Previously we relied on code:get_mode(), but since
releases are starting in interactive mode to use
less memory, we need a clearer mechanism.

* Move shutdown feature check to Livebook.Config

Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
2022-04-14 15:52:28 +02:00
Wojtek Mach
d11090b4f9
Create release cookie in env scripts () 2022-02-15 12:44:59 +01:00
José Valim
efdbf67f59
Introduce LIVEBOOK_HOME and LIVEBOOK_DATA_PATH ()
And move the relevant configurations to settings.
2022-01-31 11:51:57 +01:00
José Valim
c0601798f3
Improvements to release ()
* Run in interactive mode: it uses less memory and improves
    boot time, which is the most desired properties for a dev tool

  * Do not use releases/cookie, instead generate one on boot
2022-01-27 14:52:59 +01:00
Kevin
8fb937340a
Set root path to $HOME () 2022-01-19 21:38:15 +01:00
Wojtek Mach
e8c80bf6a7
Add Mac app release () 2022-01-17 17:34:38 +01:00