mirror of
https://github.com/vale981/tridactyl
synced 2025-03-05 17:41:40 -05:00
Fix #2210: tell user to :nativeinstall if :guiset fails
This commit is contained in:
parent
ae1d4afc1d
commit
789a64bdb7
1 changed files with 4 additions and 1 deletions
|
@ -429,7 +429,10 @@ export async function guiset_quiet(rule: string, option: string) {
|
|||
*/
|
||||
//#background
|
||||
export async function guiset(rule: string, option: string) {
|
||||
await guiset_quiet(rule, option)
|
||||
if (!(await guiset_quiet(rule, option))) {
|
||||
throw new Error(":guiset failed. Please ensure native messenger is installed.")
|
||||
}
|
||||
|
||||
return fillcmdline_tmp(3000, "userChrome.css written. Please restart Firefox to see the changes.")
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue