Skip to content

Commit

Permalink
build: bump from 0.4.0 to 0.4.5
Browse files Browse the repository at this point in the history
feat: status dot in title bar
  • Loading branch information
RuzikNF committed Oct 10, 2020
1 parent bc9a4d5 commit 6f601fe
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion control
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Package: discord-qt
Version: 0.4.0
Version: 0.4.5
Section: net
Priority: optional
Homepage: https://github.com/ruslang02/discord-qt
Expand Down
4 changes: 2 additions & 2 deletions deploy/darwin/Discord-Qt.app/Contents/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>0.4.0</string>
<string>0.4.5</string>
<key>CFBundleVersion</key>
<string>0.4.0</string>
<string>0.4.5</string>
<key>CFBundleSupportedPlatforms</key>
<array>
<string>MacOSX</string>
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "discord-qt",
"version": "0.4.1",
"version": "0.4.5",
"main": "launch.js",
"author": "Ruslan Garifullin",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion src/components/MainTitleBar/MainTitleBar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export class MainTitleBar extends DTitleBar {
private updateStatus() {
const { channel, statusLabel } = this;
if (channel instanceof DMChannel) {
statusLabel.setText(channel.recipient.presence.status || '');
statusLabel.setText('●');
statusLabel.setInlineStyle(`color: ${PresenceStatusColor.get(channel.recipient.presence.status || 'offline')}`);
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/patches/Constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ const DQConstants = {
},
},
Events: { ...Constants.Events, ...UserEventsMap },
UserAgent: 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) discord-qt/0.4.0 Chrome/78.0.3904.130 Electron/7.3.2 Safari/537.36'
UserAgent: 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) discord-qt/0.4.5 Chrome/78.0.3904.130 Electron/7.3.2 Safari/537.36'
}

Object.assign(Constants, DQConstants);

0 comments on commit 6f601fe

Please sign in to comment.