Commit graph

37 commits

Author SHA1 Message Date
José Valim
1e66243ad9
Allow configuring desktop env vars (#1676) 2023-02-02 10:52:16 +01:00
Zach Allaun
8f92661918
Support setting node and distribution using environment vars (#1672) 2023-02-01 21:22:49 +01:00
Wojtek Mach
26305a9687
Add "Copy URL", "View Logs" and "Settings" buttons (#1650) 2023-01-19 17:15:42 +01:00
Wojtek Mach
f13006490b Update Windows version check on installer 2023-01-17 15:56: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
e152c9d1a7
Fix vendoring OTP (#1495)
Summary of changes:

- Vendor OTP at: rel/vendor/otp
- Remove rel/vendor/otp/lib/*/src
- Include /usr/local/bin in $PATH. This is not there by default and that's where homebrew (on x86_64) installs things so it should make it easier to build some packages with NIFs.
2022-10-24 10:56:16 +02:00
Marcin Operacz
7175ad314e
Only set RELEASE_NODE if not set (#1396) 2022-09-08 22:27:26 +02:00
Wojtek Mach
5f763eab0a Fix debug message 2022-08-25 11:35:33 +02:00
Wojtek Mach
747fa38290 Copy usr, closes #1310 2022-08-10 17:31:24 +02:00
Wojtek Mach
1b978b43f4
Start desktop app in home directory (#1302) 2022-07-28 15:40:55 +02:00
Wojtek Mach
f7da416bd9 Vendor erts/include dir in the desktop app, closes #1290 2022-07-21 18:06:02 +02:00
Wojtek Mach
f84bdaa5a2
Bind to random port in the desktop app (#1285) 2022-07-20 14:02:38 +02:00
Wojtek Mach
4a543c4aa9 Rename remaining occurance of AppBuilder 2022-07-19 14:54:56 +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
Wojtek Mach
fc82b55dab
Desktop icon improvements (#1201) 2022-05-27 14:45:20 +02:00
Wojtek Mach
cf587e7115
Update Mac build scripts (#1198) 2022-05-20 14:17:40 +02:00
Wojtek Mach
f5afac9497 Remove otp version check when building desktop app
Since we're building our own OTP for Mac, the idea was not to
accidentally building agains something we happen to be testing at the
moment, like the latest RC. This check turned out to be a little bit
too annoying in practice though. We plan to automate builds on CI
in the near future so we wouldn't need it the anyway.

Closes #1177
2022-05-06 23:53:10 +02:00
Wojtek Mach
e5092e4c99
Add taskbar icon to desktop app (#1119) 2022-04-21 09:51:48 +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
fe53c6a852
Fix vendoring OTP for Windows app (#1039) 2022-03-03 17:08:17 +01:00
Wojtek Mach
29f0f54bbd
Desktop app packaging for Windows (#1032) 2022-03-02 12:06:30 +01:00
Wojtek Mach
d11090b4f9
Create release cookie in env scripts (#1004) 2022-02-15 12:44:59 +01:00
Wojtek Mach
5e82147db0
standalone.exs: Cache Elixir download (#988) 2022-02-07 12:33:38 +01:00
Wojtek Mach
2c34f62c11
standalone.exs: Ensure OTP version (#987) 2022-02-07 12:33:28 +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
Roberto Estrada
5110f85e73
macOS App includes elixir, erlang for standalone mode (#929) 2022-01-24 23:41:49 +01:00
Mario Uher
4bc264e154
Make icon on macOS look more native (#924) 2022-01-23 13:03:24 +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
Jonatan Kłosko
8ed2cda808
Disable busy waiting in release (#370) 2021-06-18 17:32:53 +02:00