Skip to content

Commit

Permalink
Mention "classic" token requirement in instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
sirbrillig committed Sep 9, 2024
1 parent 2cd6c31 commit b292066
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
9 changes: 7 additions & 2 deletions src/main/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,12 @@ import {
import { menubar } from 'menubar';
import isDev from 'electron-is-dev';
import electronDebug from 'electron-debug';
import { getToken, toggleLogging } from './lib/main-store';
import {
getToken,
toggleLogging,
getAccounts,
setAccounts,
} from './lib/main-store';
import { getIconForState } from './lib/icon-path';
import { version } from '../../package.json';
import unhandled from 'electron-unhandled';
Expand All @@ -29,7 +34,7 @@ declare const MAIN_WINDOW_PRELOAD_WEBPACK_ENTRY: string;

dotEnv.config();

const debug = debugFactory('gitnews-menubar:main');
const debug = debugFactory('gitnews-menubar');

debug('initializing version', version);

Expand Down
6 changes: 3 additions & 3 deletions src/renderer/components/account-edit.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,9 @@ export default function AccountEdit({
</div>
<div>
<p>
You must generate a GitHub authentication token so this app can see
your notifications. It will need the `notifications` and `repo`
scopes.
You must generate a GitHub authentication token ("Personal access
tokens (classic)") so this app can see your notifications. It will
need the `notifications` and `repo` scopes.
</p>
<label htmlFor="add-token-form__input">GitHub Token:</label>
<input
Expand Down

0 comments on commit b292066

Please sign in to comment.