mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-02-21 21:36:17 +08:00
9 lines
333 B
Elixir
9 lines
333 B
Elixir
set RELEASE_NODE=livebook_app
|
|
set RELEASE_MODE=interactive
|
|
set LIVEBOOK_SHUTDOWN_ENABLED=true
|
|
|
|
set cookie_path="!RELEASE_ROOT!\releases\COOKIE"
|
|
if not exist %cookie_path% (
|
|
for /f "skip=1" %%X in ('wmic os get localdatetime') do if not defined TIMESTAMP set TIMESTAMP=%%X
|
|
echo cookie-!TIMESTAMP:~0,11!-!RANDOM! > %cookie_path%
|
|
)
|