feat: add preliminar Windows support (#1636)
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)
Showing
docs/development-windows.md
0 → 100644
docs/windows-service.md
0 → 100644
scripts/.air-windows.toml
0 → 100644
scripts/build.ps1
0 → 100644
scripts/start.ps1
0 → 100644
Please register or sign in to comment