mirror of
https://github.com/usememos/memos.git
synced 2024-12-20 09:41:58 +03:00
3b76c6792c
Add preliminar Windows support for both development and production environments. Default profile.Data will be set to "C:\ProgramData\memos" on Windows. Folder will be created if it does not exist, as this behavior is expected for Windows applications. System service installation can be achieved with third-party tools, explained in docs/windows-service.md. Not sure if it's worth using https://github.com/kardianos/service to make service support built-in. This could be a nice addition alongside #1583 (add Windows artifacts)
16 lines
323 B
TOML
16 lines
323 B
TOML
root = "."
|
|
tmp_dir = ".air"
|
|
|
|
[build]
|
|
bin = "./.air/memos.exe"
|
|
cmd = "go build -o ./.air/memos.exe ./main.go"
|
|
delay = 1000
|
|
exclude_dir = [".air", "web", "build"]
|
|
exclude_file = []
|
|
exclude_regex = []
|
|
exclude_unchanged = false
|
|
follow_symlink = false
|
|
full_bin = ""
|
|
send_interrupt = true
|
|
kill_delay = 2000
|