Commit graph

17 commits

Author SHA1 Message Date
José Valim
1e66243ad9
Allow configuring desktop env vars (#1676) 2023-02-02 10:52:16 +01:00
Wojtek Mach
511df69495 Make sure setting cookie really works on a read-only fs 2023-01-17 10:42:00 +01:00
Wojtek Mach
c751e444e7 Remove unused variable 2023-01-17 09:53:36 +01:00
Wojtek Mach
596df882fc
Rebuild Livebook Desktop (#1641) 2023-01-16 21:09:47 +01:00
José Valim
497f372140 Ensure we don't use a new cookie on every boot 2022-12-16 00:18:35 +01:00
José Valim
00a7201f8a
Allow release to boot even if it can't write (#1568)
This allows Livebook to run even from .dmg files.
2022-12-11 17:06:00 +01:00
Wojtek Mach
1b978b43f4
Start desktop app in home directory (#1302) 2022-07-28 15:40:55 +02:00
Wojtek Mach
f84bdaa5a2
Bind to random port in the desktop app (#1285) 2022-07-20 14:02:38 +02:00
Wojtek Mach
4ec919f60b
App bundling improvements (#1279) 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 (#1263)
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 (#1111)
* 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 (#1004) 2022-02-15 12:44:59 +01:00
José Valim
efdbf67f59
Introduce LIVEBOOK_HOME and LIVEBOOK_DATA_PATH (#963)
And move the relevant configurations to settings.
2022-01-31 11:51:57 +01:00
José Valim
c0601798f3
Improvements to release (#944)
* 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 (#887) 2022-01-19 21:38:15 +01:00
Wojtek Mach
e8c80bf6a7
Add Mac app release (#865) 2022-01-17 17:34:38 +01:00