Skip to content

Commit

Permalink
Fix clipboard bug
Browse files Browse the repository at this point in the history
  • Loading branch information
donn committed Feb 4, 2023
1 parent b499349 commit 53e8c15
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 2 deletions.
3 changes: 2 additions & 1 deletion index.cjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Modules to control application life and create native browser window
const electron = require("electron");
const { app, dialog, BrowserWindow, Menu, ipcMain, shell } = electron;
const { app, dialog, BrowserWindow, Menu, ipcMain, shell, clipboard } =
electron;

const macOS = process.platform == "darwin";

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "nudelta",
"author": "Mohamed Gaber <[email protected]>",
"version": "0.6.4",
"version": "0.6.5",
"license": "GPL-3.0-or-later",
"homepage": "https://github.com/donn/nudelta#readme",
"description": "An open-source alternative to the NuPhy Console",
Expand Down
14 changes: 14 additions & 0 deletions shell.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
pkgs ? import <nixpkgs> {}
}:

with pkgs; (mkShell.override { stdenv = clangStdenv; }) {
packages = [
nodejs
yarn
cmake
gnumake
libusb
pkg-config
];
}

0 comments on commit 53e8c15

Please sign in to comment.