Brycord v1.0.36
All checks were successful
Build and Release / build-and-release (push) Successful in 14m34s
All checks were successful
Build and Release / build-and-release (push) Successful in 14m34s
This commit is contained in:
@@ -8,7 +8,7 @@ android {
|
|||||||
minSdkVersion rootProject.ext.minSdkVersion
|
minSdkVersion rootProject.ext.minSdkVersion
|
||||||
targetSdkVersion rootProject.ext.targetSdkVersion
|
targetSdkVersion rootProject.ext.targetSdkVersion
|
||||||
versionCode 27
|
versionCode 27
|
||||||
versionName "1.0.35"
|
versionName "1.0.36"
|
||||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||||
aaptOptions {
|
aaptOptions {
|
||||||
// Files and dirs to omit from the packaged assets dir, modified to accommodate modern web apps.
|
// Files and dirs to omit from the packaged assets dir, modified to accommodate modern web apps.
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "@discord-clone/android",
|
"name": "@discord-clone/android",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "1.0.35",
|
"version": "1.0.36",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"cap:sync": "npx cap sync",
|
"cap:sync": "npx cap sync",
|
||||||
|
|||||||
@@ -188,6 +188,9 @@ app.whenReady().then(async () => {
|
|||||||
const win = BrowserWindow.getFocusedWindow();
|
const win = BrowserWindow.getFocusedWindow();
|
||||||
if (win) win.close();
|
if (win) win.close();
|
||||||
});
|
});
|
||||||
|
ipcMain.on('flash-frame', () => {
|
||||||
|
if (mainWindow && !mainWindow.isDestroyed()) mainWindow.flashFrame(true);
|
||||||
|
});
|
||||||
|
|
||||||
// Helper to fetch metadata (Zero-Knowledge: Client fetches previews)
|
// Helper to fetch metadata (Zero-Knowledge: Client fetches previews)
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "@discord-clone/electron",
|
"name": "@discord-clone/electron",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "1.0.35",
|
"version": "1.0.36",
|
||||||
"description": "Brycord - Electron app",
|
"description": "Brycord - Electron app",
|
||||||
"author": "Moyettes",
|
"author": "Moyettes",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
@@ -37,8 +37,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"win": {
|
"win": {
|
||||||
"target": ["nsis"],
|
"target": ["nsis"]
|
||||||
"signAndEditExecutable": false
|
|
||||||
},
|
},
|
||||||
"mac": {
|
"mac": {
|
||||||
"target": ["dmg", "zip"],
|
"target": ["dmg", "zip"],
|
||||||
|
|||||||
@@ -25,6 +25,7 @@ contextBridge.exposeInMainWorld('windowControls', {
|
|||||||
minimize: () => ipcRenderer.send('window-minimize'),
|
minimize: () => ipcRenderer.send('window-minimize'),
|
||||||
maximize: () => ipcRenderer.send('window-maximize'),
|
maximize: () => ipcRenderer.send('window-maximize'),
|
||||||
close: () => ipcRenderer.send('window-close'),
|
close: () => ipcRenderer.send('window-close'),
|
||||||
|
flashFrame: () => ipcRenderer.send('flash-frame'),
|
||||||
});
|
});
|
||||||
|
|
||||||
contextBridge.exposeInMainWorld('appSettings', {
|
contextBridge.exposeInMainWorld('appSettings', {
|
||||||
|
|||||||
@@ -52,6 +52,7 @@ const electronPlatform = {
|
|||||||
minimize: () => window.windowControls.minimize(),
|
minimize: () => window.windowControls.minimize(),
|
||||||
maximize: () => window.windowControls.maximize(),
|
maximize: () => window.windowControls.maximize(),
|
||||||
close: () => window.windowControls.close(),
|
close: () => window.windowControls.close(),
|
||||||
|
flashFrame: () => window.windowControls.flashFrame(),
|
||||||
},
|
},
|
||||||
updates: {
|
updates: {
|
||||||
checkUpdate: () => window.updateAPI.checkFlatpakUpdate(),
|
checkUpdate: () => window.updateAPI.checkFlatpakUpdate(),
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "@discord-clone/web",
|
"name": "@discord-clone/web",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "1.0.35",
|
"version": "1.0.36",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "@discord-clone/shared",
|
"name": "@discord-clone/shared",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "1.0.35",
|
"version": "1.0.36",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"main": "src/App.jsx",
|
"main": "src/App.jsx",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|||||||
@@ -512,7 +512,8 @@ const InputContextMenu = ({ x, y, onClose, onPaste }) => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const ChatArea = ({ channelId, channelName, channelType, username, channelKey, userId: currentUserId, showMembers, onToggleMembers, onOpenDM, showPinned, onTogglePinned, jumpToMessageId, onClearJumpToMessage }) => {
|
const ChatArea = ({ channelId, channelName, channelType, username, channelKey, userId: currentUserId, showMembers, onToggleMembers, onOpenDM, showPinned, onTogglePinned, jumpToMessageId, onClearJumpToMessage }) => {
|
||||||
const { crypto } = usePlatform();
|
const platform = usePlatform();
|
||||||
|
const { crypto } = platform;
|
||||||
const isMobile = useIsMobile();
|
const isMobile = useIsMobile();
|
||||||
const { isReceivingScreenShareAudio } = useVoice();
|
const { isReceivingScreenShareAudio } = useVoice();
|
||||||
const searchCtx = useSearch();
|
const searchCtx = useSearch();
|
||||||
@@ -1236,8 +1237,11 @@ const ChatArea = ({ channelId, channelName, channelType, username, channelKey, u
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (shouldPing) playPingSound();
|
if (shouldPing) {
|
||||||
}, [decryptedMessages, currentUserId, isMentionedInContent, playPingSound]);
|
playPingSound();
|
||||||
|
if (!document.hasFocus()) platform.windowControls?.flashFrame?.();
|
||||||
|
}
|
||||||
|
}, [decryptedMessages, currentUserId, isMentionedInContent, playPingSound, platform]);
|
||||||
|
|
||||||
// Capture the unread divider position when read state loads for a channel
|
// Capture the unread divider position when read state loads for a channel
|
||||||
const unreadDividerCapturedRef = useRef(null);
|
const unreadDividerCapturedRef = useRef(null);
|
||||||
|
|||||||
Reference in New Issue
Block a user