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>
This commit is contained in:
2024-10-20 00:07:48 +09:00
parent 1da845d78b
commit ad0034b09a
8 changed files with 38 additions and 29 deletions

View File

@@ -173,7 +173,7 @@ func (a *app) Wait() (int, error) {
var exitError *exec.ExitError
if !errors.As(err, &exitError) {
// should be unreachable
a.wait = err
a.waitErr = err
}
// store non-zero return code