Skip to content
This repository has been archived by the owner on Aug 14, 2024. It is now read-only.

Typescript electron builder config #58

Merged
merged 3 commits into from
Apr 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .pdfjs_version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v4.0.379
v4.2.67
2 changes: 1 addition & 1 deletion .python-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.12
3.11
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed .yarn/cache/tsx-npm-4.7.1-2110587134-3a462b595f.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
324 changes: 162 additions & 162 deletions .yarn/releases/yarn-4.1.0.cjs → .yarn/releases/yarn-4.1.1.cjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ enableGlobalCache: false

nodeLinker: node-modules

yarnPath: .yarn/releases/yarn-4.1.0.cjs
yarnPath: .yarn/releases/yarn-4.1.1.cjs
2 changes: 1 addition & 1 deletion app/helpers/file.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { TabGroup, Tab } from "electron-tabs";
import type { TabGroup, Tab } from "electron-tabs";
import { setupSliders, setupTab } from "./private";

async function openFile(
Expand Down
2 changes: 1 addition & 1 deletion app/helpers/private.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { TabGroup, Tab } from "electron-tabs";
import type { TabGroup, Tab } from "electron-tabs";
import { create } from "nouislider";

// Code to inject into the webview, to prevent jsPDF from intercepting keybinds
Expand Down
16 changes: 8 additions & 8 deletions app/helpers/settings.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Schema } from "electron-store";
import { type JSONSchema } from "json-schema-typed";
import type { Schema } from "electron-store";
import type { JSONSchema } from "json-schema-typed";

type NightPDFSettings = JSONSchema & {
version: string;
Expand Down Expand Up @@ -424,17 +424,17 @@ function modifierToString(name: string, platform: string): string {
? modifier.displayAs
: name
: platform in modifier.osVariants
? modifier.osVariants[platform]
: modifier.osVariants?.default;
? modifier.osVariants[platform]
: modifier.osVariants?.default;
return displayAs ?? name;
}

export {
NightPDFSettings,
type NightPDFSettings,
nightpdf_schema,
Keybind,
Keybinds,
ModifierKeyMap,
type Keybind,
type Keybinds,
type ModifierKeyMap,
ModifierKeys,
nightpdf_default_settings,
modifierToString,
Expand Down
Loading
Loading