Commit graph

64 commits

Author SHA1 Message Date
Wojtek Mach
5df690f705
Register Livebook Desktop for Windows in Add/Remove Programs (#2398) 2023-12-12 13:58:43 +01:00
Wojtek Mach
fab41cfb60 Fix logs directory location on Livebook Desktop for Windows 2023-12-12 13:53:13 +01:00
Jonatan Kłosko
b661273f1a Remove the deprecated warmup_apps.sh 2023-10-25 17:18:40 +07:00
Jonatan Kłosko
f2c5d101c3
Deprecate warmup_apps.sh in favour of warmup_apps (#2305) 2023-10-25 12:17:59 +02:00
Jonatan Kłosko
52ac23b4f0
Move user release config to user directory (#2302) 2023-10-25 11:57:00 +02:00
Jonatan Kłosko
6406e1fcf7
Add customizable configuration script to release (#2295) 2023-10-24 16:46:40 +02:00
Jonatan Kłosko
b603639b77
Include default secret key base and cookie in apps Dockerfile (#2294) 2023-10-24 14:41:49 +02:00
José Valim
3d6a808421
Improve docs for clustering, set default (#2293)
Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
2023-10-23 21:35:04 +02:00
Wojtek Mach
ed6ae02ada
desktop: Add "New Notebook" to system tray menu (#2247) 2023-10-04 11:46:42 +02:00
José Valim
777b2639ae Set LIVEBOOK_DESKTOP env var 2023-09-28 11:12:23 +02:00
Wojtek Mach
f160b3debb Fixup Livebook.cs 2023-09-24 10:11:39 +02:00
Wojtek Mach
a82345d22e
desktop: Add "Open .livebookdesktop.sh|bat" menu item (#2225) 2023-09-23 17:12:30 +02:00
José Valim
64dad900d7
Exclude modules from docs (#2218)
Closes #2216.
2023-09-21 12:28:45 +02:00
Mateusz Front
7bcdd90b66
Allow Livebook Desktop to ask for mic and camera access (#2177) 2023-08-24 16:25:58 +02:00
Jonatan Kłosko
904ebd093f
Serially setup apps before deploying from directory (#2115)
Co-authored-by: José Valim <jose.valim@dashbit.co>
2023-07-26 20:23:44 +02:00
Patrick Smith
bbc5ced0d5
Add user visible CFBundleShortVersionString to Info.plist (#2057) 2023-07-11 14:45:10 +02:00
Wojtek Mach
4899767673
Fix release cookie on Windows (#2012) 2023-06-27 13:33:18 +02:00
Wojtek Mach
04afc9bd51 Use builds.hex.pm domain 2023-05-30 17:33:46 +02:00
Wojtek Mach
6ba699fbf5
Fix opening up Livebook Desktop via Spotlight (#1942) 2023-05-30 16:29:30 +02:00
Wojtek Mach
50f1004730
Improve .livemd icon on macOS (#1932) 2023-05-26 14:17:26 +02:00
Bobby McDonald
2f2c959c89
Make Livebook Desktop show up in Spotlight search (#1930) 2023-05-26 11:00:39 +02:00
Wojtek Mach
5feac07d0e
Allow setting LIVEBOOK_PORT in ~/.livebookdesktop.sh (#1920) 2023-05-23 16:22:17 +02:00
Jonatan Kłosko
01bf6cd27d
Improve RELEASE_COOKIE handling on read-only fs (#1919) 2023-05-23 15:23:02 +02:00
Wojtek Mach
f58075eb62
Fail when hostname contains whitespace (#1894) 2023-05-04 13:52:21 +02:00
Wojtek Mach
e3a72d0dbe
Fix displaying error dialog and logging errors (#1848) 2023-04-04 12:57:28 +02:00
Wojtek Mach
1a1ac34a3a
Don't hardcode Livebook Desktop for macOS version (#1831) 2023-03-28 12:45:59 +02:00
Wojtek Mach
1bf9b8fa9c
Use high-resolution menu bar icon on Mac (#1795)
MenuBarIcon.png was pretty low resolution. Let's use an existing
high-resolution icon and scale it on demand.

Note we couldn't just use the LivebookIcon.icns directly because the
system seems to pick the largest size and the icon doesn't fit.
2023-03-15 18:22:06 +01:00
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