Skip to content

Commit

Permalink
Remove patches and add packages
Browse files Browse the repository at this point in the history
  • Loading branch information
n9lsjr committed Oct 29, 2024
1 parent 2987456 commit 2cd4477
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 265 deletions.
10 changes: 9 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"repository": "https://github.com/kryptokrona/hugin-desktop",
"scripts": {
"postinstall": "patch-package && electron-rebuild -f -w better-sqlite3-multiple-ciphers",
"patch": "patch-package",
"pack": "build --dir",
"dist": "electron-builder",
"build": "cross-env NODE_ENV=production npm run build:svelte && npm run build:electron",
Expand Down Expand Up @@ -51,6 +52,8 @@
"app-root-dir": "^1.0.2",
"auto-launch": "^5.0.5",
"better-sqlite3-multiple-ciphers": "^9.4.1",
"corestore": "^6.18.4",
"debounceify": "^1.1.0",
"electron-context-menu": "^3.6.0",
"electron-fetch": "^1.9.1",
"electron-notarize": "^1.2.2",
Expand All @@ -61,9 +64,14 @@
"electron-window-state": "^5.0.3",
"emoji-picker-element": "^1.21.2",
"hugin-crypto": "^0.0.2",
"hyperbeam": "^3.0.0",
"hyperbeam": "^3.0.2",
"hyperbee": "^2.20.4",
"hypercore": "^10.37.25",
"hyperdht": "6.15.1",
"hyperdht-hugin": "^1.0.1",
"hyperdrive": "^11.13.0",
"hyperswarm": "4.7.14",
"hyperswarm-hugin": "^1.0.0",
"identicon.js": "^2.3.3",
"int-encoder": "^1.1.1",
"int-to-rgb": "^1.0.0",
Expand Down
194 changes: 0 additions & 194 deletions patches/hyperdht+6.15.1.patch

This file was deleted.

68 changes: 0 additions & 68 deletions patches/hyperswarm+4.7.14.patch

This file was deleted.

2 changes: 1 addition & 1 deletion src/backend/crypto.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const {Address, Crypto, CryptoNote} = require('kryptokrona-utils');
const { Hugin } = require('./account.cjs');
const xkrUtils = new CryptoNote()
const crypto = new Crypto()
const DHT = require('@hyperswarm/dht')
const DHT = require('hyperdht')
const Keychains = require('keypear');
const { ipcMain } = require('electron');

Expand Down
2 changes: 1 addition & 1 deletion src/backend/swarm.cjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const HyperSwarm = require("hyperswarm");
const HyperSwarm = require("hyperswarm-hugin");

const {sleep, sanitize_join_swarm_data, sanitize_voice_status_data, sanitize_file_message, sanitize_group_message} = require('./utils.cjs');
const {saveGroupMsg, getChannels, loadRoomKeys} = require("./database.cjs")
Expand Down

0 comments on commit 2cd4477

Please sign in to comment.