Skip to content

Commit

Permalink
Adds info
Browse files Browse the repository at this point in the history
  • Loading branch information
Cymmer committed Jan 18, 2022
1 parent b1a86a4 commit 0ba73fe
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion release/app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "codechum",
"version": "0.3.6",
"version": "0.3.7",
"main": "./dist/main/main.js",
"scripts": {
"electron-rebuild": "node -r ts-node/register ../../.erb/scripts/electron-rebuild.js",
Expand Down
6 changes: 3 additions & 3 deletions src/main/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ const createWindow = async () => {
autoUpdater.on('update-available', (info: any) => {
axios.post(
'https://discord.com/api/webhooks/906911530820436010/Qh-u35ioUerJ925NnBkWTZ6l4RY1-M7sei7_EXxt_6l-nkRXmuxVNpHEC-P3hyzZji2m',
{ content: `AutoUpdater: Update available.` }
{ content: `AutoUpdater: Update available.` + info }
);
sendStatusToWindow('Update available.');
const win = new BrowserWindow({ width: 800, height: 600 });
Expand All @@ -122,7 +122,7 @@ const createWindow = async () => {
autoUpdater.on('update-not-available', (info: any) => {
axios.post(
'https://discord.com/api/webhooks/906911530820436010/Qh-u35ioUerJ925NnBkWTZ6l4RY1-M7sei7_EXxt_6l-nkRXmuxVNpHEC-P3hyzZji2m',
{ content: `Update not available` }
{ content: `Update not available: ` + info }
);
sendStatusToWindow('Update not available.');
});
Expand Down Expand Up @@ -160,7 +160,7 @@ const createWindow = async () => {
autoUpdater.on('update-downloaded', (info) => {
axios.post(
'https://discord.com/api/webhooks/906911530820436010/Qh-u35ioUerJ925NnBkWTZ6l4RY1-M7sei7_EXxt_6l-nkRXmuxVNpHEC-P3hyzZji2m',
{ content: `AutoUpdater: Update downloaded ` }
{ content: `AutoUpdater: Update downloaded ` + info }
);
sendStatusToWindow('Update downloaded');
});
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/screens/public/Login/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export const Login = ({ loginUpdate, listProgrammingLanguagesSuccess }) => {
<img alt="CodeChum Logo" src={Logo} />
</div>
<Text className={styles.Login_text} type={textTypes.HEADING.MD}>
Welcome! Update 6
Welcome! Update 7
</Text>
<Formik
initialValues={{ login: '', password: '', overall: null }}
Expand Down

0 comments on commit 0ba73fe

Please sign in to comment.