bump dependencies

This commit is contained in:
Vendicated
2025-04-01 21:59:58 +02:00
parent 8f94196646
commit 391ad94b85
3 changed files with 682 additions and 757 deletions

View File

@@ -27,37 +27,37 @@
}, },
"dependencies": { "dependencies": {
"arrpc": "github:OpenAsar/arrpc#2234e9c9111f4c42ebcc3aa6a2215bfd979eef77", "arrpc": "github:OpenAsar/arrpc#2234e9c9111f4c42ebcc3aa6a2215bfd979eef77",
"electron-updater": "^6.3.9" "electron-updater": "^6.6.2"
}, },
"optionalDependencies": { "optionalDependencies": {
"@vencord/venmic": "^6.1.0" "@vencord/venmic": "^6.1.0"
}, },
"devDependencies": { "devDependencies": {
"@fal-works/esbuild-plugin-global-externals": "^2.1.2", "@fal-works/esbuild-plugin-global-externals": "^2.1.2",
"@stylistic/eslint-plugin": "^4.0.0", "@stylistic/eslint-plugin": "^4.2.0",
"@types/node": "^22.13.4", "@types/node": "^22.13.17",
"@types/react": "18.3.1", "@types/react": "18.3.1",
"@vencord/types": "^1.11.5", "@vencord/types": "^1.11.5",
"dotenv": "^16.4.7", "dotenv": "^16.4.7",
"electron": "^34.2.0", "electron": "^35.1.2",
"electron-builder": "^25.1.8", "electron-builder": "^26.0.12",
"esbuild": "^0.25.0", "esbuild": "^0.25.2",
"eslint": "^9.20.1", "eslint": "^9.23.0",
"eslint-import-resolver-alias": "^1.1.2", "eslint-import-resolver-alias": "^1.1.2",
"eslint-plugin-path-alias": "^2.1.0", "eslint-plugin-path-alias": "^2.1.0",
"eslint-plugin-prettier": "^5.2.3", "eslint-plugin-prettier": "^5.2.5",
"eslint-plugin-simple-header": "^1.2.2", "eslint-plugin-simple-header": "^1.2.2",
"eslint-plugin-simple-import-sort": "^12.1.1", "eslint-plugin-simple-import-sort": "^12.1.1",
"eslint-plugin-unused-imports": "^4.1.4", "eslint-plugin-unused-imports": "^4.1.4",
"prettier": "^3.5.1", "prettier": "^3.5.3",
"source-map-support": "^0.5.21", "source-map-support": "^0.5.21",
"tsx": "^4.19.2", "tsx": "^4.19.3",
"type-fest": "^4.35.0", "type-fest": "^4.39.0",
"typescript": "^5.7.3", "typescript": "^5.8.2",
"typescript-eslint": "^8.24.1", "typescript-eslint": "^8.29.0",
"xml-formatter": "^3.6.4" "xml-formatter": "^3.6.5"
}, },
"packageManager": "pnpm@9.1.0", "packageManager": "pnpm@10.7.1",
"engines": { "engines": {
"node": ">=18", "node": ">=18",
"pnpm": ">=8" "pnpm": ">=8"
@@ -115,12 +115,14 @@
} }
], ],
"desktop": { "desktop": {
"Name": "Vesktop", "entry": {
"GenericName": "Internet Messenger", "Name": "Vesktop",
"Type": "Application", "GenericName": "Internet Messenger",
"Categories": "Network;InstantMessaging;Chat;", "Type": "Application",
"Keywords": "discord;vencord;electron;chat;", "Categories": "Network;InstantMessaging;Chat;",
"MimeType": "x-scheme-handler/discord" "Keywords": "discord;vencord;electron;chat;",
"MimeType": "x-scheme-handler/discord"
}
} }
}, },
"mac": { "mac": {
@@ -197,6 +199,11 @@
"pnpm": { "pnpm": {
"patchedDependencies": { "patchedDependencies": {
"arrpc@3.5.0": "patches/arrpc@3.5.0.patch" "arrpc@3.5.0": "patches/arrpc@3.5.0.patch"
} },
"onlyBuiltDependencies": [
"@vencord/venmic",
"electron",
"esbuild"
]
} }
} }

1384
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@@ -29,10 +29,10 @@ export function setBadgeCount(count: number) {
break; break;
case "darwin": case "darwin":
if (count === 0) { if (count === 0) {
app.dock.setBadge(""); app.dock!.setBadge("");
break; break;
} }
app.dock.setBadge(count === -1 ? "•" : count.toString()); app.dock!.setBadge(count === -1 ? "•" : count.toString());
break; break;
case "win32": case "win32":
const [index, description] = getBadgeIndexAndDescription(count); const [index, description] = getBadgeIndexAndDescription(count);