aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/app/share.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-02-19 01:04:14 +0900
committerOphestra <cat@gensokyo.uk>2025-02-19 01:04:14 +0900
commitaa164081e1c2c477059d9e321675c217eb8ebeb6 (patch)
treed62e7dd42760159e510807447d21ac72ce85671b /internal/app/share.go
parent9a10eeab903705a3a033d36bfdc583ccd1bf586e (diff)
app/seal: improve documentation
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/app/share.go')
-rw-r--r--internal/app/share.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/app/share.go b/internal/app/share.go
index 7252add2..f6271b22 100644
--- a/internal/app/share.go
+++ b/internal/app/share.go
@@ -158,7 +158,7 @@ func (seal *appSeal) setupShares(bus [2]*dbus.Config, os sys.State) error {
socketDir := path.Join(seal.SharePath, "wayland")
outerPath := path.Join(socketDir, seal.id)
seal.sys.Ensure(socketDir, 0711)
- appID := seal.fid
+ appID := seal.appID
if appID == "" {
// use instance ID in case app id is not set
appID = "uk.gensokyo.fortify." + seal.id
@@ -246,7 +246,7 @@ func (seal *appSeal) setupShares(bus [2]*dbus.Config, os sys.State) error {
if seal.Has(system.EDBus) {
// ensure dbus session bus defaults
if bus[0] == nil {
- bus[0] = dbus.NewConfig(seal.fid, true, true)
+ bus[0] = dbus.NewConfig(seal.appID, true, true)
}
// downstream socket paths