mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-02-21 05:19:42 +08:00
8 lines
301 B
Elixir
8 lines
301 B
Elixir
set RELEASE_NODE=livebook_server
|
|
set RELEASE_MODE=interactive
|
|
|
|
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%
|
|
)
|