diff options
| author | Ophestra Umiker <cat@ophivana.moe> | 2024-10-20 00:07:48 +0900 |
|---|---|---|
| committer | Ophestra Umiker <cat@ophivana.moe> | 2024-10-20 00:22:18 +0900 |
| commit | ad0034b09aaa76aca478304518c1394ba292a619 (patch) | |
| tree | 07fc40ae14d9eecb368997688c0de1eb1e89cb15 /internal/app/system.go | |
| parent | 1da845d78bdd6be03e771958100d388b3e6e9fcc (diff) | |
app: move app ID to app struct
App ID is inherent to App, and it makes no sense to generate it as part of the app sealing process.
Signed-off-by: Ophestra Umiker <cat@ophivana.moe>
Diffstat (limited to 'internal/app/system.go')
| -rw-r--r-- | internal/app/system.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/app/system.go b/internal/app/system.go index 240b38b8..e0c869b8 100644 --- a/internal/app/system.go +++ b/internal/app/system.go @@ -12,14 +12,14 @@ import ( // appSeal seals the application with child-related information type appSeal struct { - // application unique identifier - id *appID // wayland socket path if mediated wayland is enabled wl string // wait for wayland client to exit if mediated wayland is enabled, // (wlDone == nil) determines whether mediated wayland setup is performed wlDone chan struct{} + // app unique ID string representation + id string // freedesktop application ID fid string // argv to start process with in the final confined environment |
