reminder to use administrator privileges

This commit is contained in:
josc146
2023-06-02 23:42:13 +08:00
parent 1036852924
commit 5bde0abb8d
2 changed files with 3 additions and 2 deletions

View File

@@ -179,7 +179,7 @@ export const RunButton: FC<{ onClickRun?: MouseEventHandler, iconMode?: boolean
}
}).catch(() => {
commonStore.setStatus({ status: ModelStatus.Offline });
toast(t('Failed to switch model'), { type: 'error' });
toast(t('Failed to switch model, please try starting the program with administrator privileges.'), { type: 'error' });
});
}
}).catch(() => {