func (userInterface *TerminalUserInterface) AskForSecureFirstRun(bootDescriptor descriptors.AppDescriptor) (canRun bool) {
	prompt := userInterface.styleFirstRunPrompt(
		ui.FormatSecureFirstRunPrompt(bootDescriptor))

	return userInterface.askYesNo(prompt)
}
예제 #2
0
func (userInterface *GtkUserInterface) AskForSecureFirstRun(bootDescriptor descriptors.AppDescriptor) (canRun bool) {
	return userInterface.askYesNo(ui.FormatSecureFirstRunPrompt(bootDescriptor))
}