Compare commits

...

2 Commits

Author SHA1 Message Date
Emery Hemingway a49ea40a0f Update build metadata 2023-04-12 15:11:06 -05:00
Emery Hemingway 5150229ac6 Update to latest Syndicate API 2023-04-12 15:11:02 -05:00
3 changed files with 5 additions and 6 deletions

3
Tuprules.tup Normal file
View File

@ -0,0 +1,3 @@
include ../syndicate-nim/depends.tup
NIM_FLAGS += --path:$(TUP_CWD)/../syndicate-nim/src
NIM_GROUPS += $(TUP_CWD)/../nimble/<nimsha2>

View File

@ -11,12 +11,8 @@ proc unixSocketPath: string =
if result == "":
result = getEnv("XDG_RUNTIME_DIR", "/run/user/1000") / "dataspace"
proc mintCap: SturdyRef =
var key: array[16, byte]
cast[SturdyRef](mint(key, "syndicate"))
bootDataspace("main") do (root: Ref; turn: var Turn):
connectUnix(turn, unixSocketPath(), mintCap()) do (turn: var Turn; ds: Ref):
connectUnix(turn, unixSocketPath(), mint()) do (turn: var Turn; ds: Ref):
var uris = commandLineParams().map do (param: string) -> string:
if fileExists param:
"file://" & absolutePath(param)

View File

@ -1,6 +1,6 @@
# Package
version = "20230301"
version = "20230412"
author = "Emery"
description = "A better xdg-open"
license = "Unlicense"