ff7fd7e123
make reliable fetch and prevent crash add stop.bat using pid file although exit hook does not work (how to do graceful stop on windows?)
696 B
696 B
task scheduler: run whether user is logged in or not
cmd.exe /c start "" /B "C:\Program Files\nodejs\node.exe" . >> output.log 2>&1
config.js example
export var access_token = "syt_***";
export var homeserver = "https://matrix.kitty.haus";
export var folder2room = new Map([
// use fsutil file queryfileid <folderpath>
// suffix n for big int
[0x000000000000000000070000001282can, "!aMGjBhBKxXGsFwUOhy:mikuobsession.net"],
[0x000000000000000000220000000cae21n, "!EgmXTLehuIzEKAvXhJ:mikuobsession.net"],
[0x000000000000000000090000000c828dn, "!vmnfrRpYAaBYPAeQew:matrix.org"],
[0x00000000000000000005000000128330n, "!oqJDDMiGEDvUFTiIKI:kitty.haus"]
]);