app: migrate to new shim implementation
Both machinectl and sudo launch methods launch shim as shim is now responsible for setting up the sandbox. Various app structures are adapted to accommodate bwrap configuration and mediated wayland access. Signed-off-by: Ophestra Umiker <cat@ophivana.moe>
This commit is contained in:
3
main.go
3
main.go
@@ -10,6 +10,7 @@ import (
|
||||
"git.ophivana.moe/cat/fortify/dbus"
|
||||
"git.ophivana.moe/cat/fortify/internal"
|
||||
"git.ophivana.moe/cat/fortify/internal/app"
|
||||
"git.ophivana.moe/cat/fortify/internal/shim"
|
||||
"git.ophivana.moe/cat/fortify/internal/state"
|
||||
"git.ophivana.moe/cat/fortify/internal/verbose"
|
||||
)
|
||||
@@ -35,7 +36,7 @@ func main() {
|
||||
|
||||
// launcher payload early exit
|
||||
if printVersion && printLicense {
|
||||
app.TryShim()
|
||||
shim.Try()
|
||||
}
|
||||
|
||||
// version/license command early exit
|
||||
|
||||
Reference in New Issue
Block a user