Commit graph

20 commits

Author SHA1 Message Date
Jonatan Kłosko c5ba8f8f81
Introduce Fly.io runtime (#2708) 2024-07-15 06:19:04 +02:00
Wojtek Mach e299cc9aba Fix windows build
When setting windows env variables, we cannot use quotes because they
are part of the values.
2024-06-21 13:25:23 +02:00
Jonatan Kłosko 84b183dd51
Defer distribution boot in releases (#2648) 2024-06-13 18:03:28 +02:00
Jonatan Kłosko ba4e59f416
Always run distribution in long names mode (#2646) 2024-06-13 10:06:08 +02:00
José Valim 6d7f416f18
Run Livebook Desktop without EPMD (#2591) 2024-05-08 10:05:01 +02:00
José Valim 6a756b415f
Respect LIVEBOOK_DISTRIBUTION env var in releases (#2570) 2024-04-15 16:35:22 +02:00
José Valim 26fa24835b
Use random names for apps, closes #2474 (#2496) 2024-03-01 12:31:46 +01:00
AviKav 6837a2f449
Support .livebookdesktop.{sh,bat} setting LIVEBOOK_NODE/RELEASE_NODE & LIVEBOOK_SHUTDOWN_ENABLED (#2464) 2024-01-31 09:47:02 +01:00
José Valim 777b2639ae Set LIVEBOOK_DESKTOP env var 2023-09-28 11:12:23 +02:00
Wojtek Mach 4899767673
Fix release cookie on Windows (#2012) 2023-06-27 13:33:18 +02:00
Wojtek Mach 5feac07d0e
Allow setting LIVEBOOK_PORT in ~/.livebookdesktop.sh (#1920) 2023-05-23 16:22:17 +02:00
José Valim 1e66243ad9
Allow configuring desktop env vars (#1676) 2023-02-02 10:52:16 +01:00
Wojtek Mach 596df882fc
Rebuild Livebook Desktop (#1641) 2023-01-16 21:09:47 +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